Mercurial > mm7
diff TurnEngine.cpp @ 1679:4da5644df18f
Cosmetics
author | Nomad |
---|---|
date | Fri, 20 Sep 2013 14:45:44 +0200 |
parents | 9a6567c6c76c |
children | a86c60679949 |
line wrap: on
line diff
--- a/TurnEngine.cpp Thu Sep 19 17:58:56 2013 +0600 +++ b/TurnEngine.cpp Fri Sep 20 14:45:44 2013 +0200 @@ -545,8 +545,8 @@ } //----- (004063A1) -------------------------------------------------------- - int stru262_TurnBased::StepTurnQueue() - { + bool stru262_TurnBased::StepTurnQueue() + { int v9; // dx@12 int j; @@ -564,7 +564,7 @@ } --turn_initiative; if (turn_initiative == 0) - return 1; + return true; } while (pQueue[0].actor_initiative != 0); } @@ -586,14 +586,14 @@ } --turn_initiative; if (turn_initiative == 0) - return 1; + return true; } while (pQueue[0].actor_initiative > 0); } } } } - return 0; + return false; } //----- (00406457) --------------------------------------------------------