From 72a48e615e84d70bbc82965ec8df3c4afbc20431 Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Sat, 20 Jan 2018 18:16:41 +0100 Subject: [PATCH] fixed int to flagtype --- game.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/game.cpp b/game.cpp index d0f5836c..28a03f0d 100644 --- a/game.cpp +++ b/game.cpp @@ -2221,7 +2221,7 @@ void killMonster(cell *c, eMonster who, flagtype deathflags) { fallingMonsterAnimation(c, m); } -void fightmessage(eMonster victim, eMonster attacker, bool stun, int flags) { +void fightmessage(eMonster victim, eMonster attacker, bool stun, flagtype flags) { if(isBird(attacker)) { playSound(NULL, "hit-axe"+pick123()); @@ -3586,7 +3586,7 @@ int landheattype(cell *c) { } // move value -int moveval(cell *c1, cell *c2, int d, int mf) { +int moveval(cell *c1, cell *c2, int d, flagtype mf) { if(!c2) return -5000; eMonster m = c1->monst;