Mercurial > mm7
diff Player.cpp @ 1332:1e35cfed7928
turn engine file added
author | Gloval |
---|---|
date | Fri, 05 Jul 2013 01:46:44 +0400 |
parents | d9e4c0bbb2d2 |
children | 22cb507446a4 |
line wrap: on
line diff
--- a/Player.cpp Wed Jul 03 23:21:29 2013 +0400 +++ b/Player.cpp Fri Jul 05 01:46:44 2013 +0400 @@ -899,10 +899,12 @@ { bool result; // eax@2 - if ( this->pConditions[2] | this->pConditions[12] | this->pConditions[13] | this->pConditions[14] | this->pConditions[15] | this->pConditions[16] ) - result = 0; + if ( this->pConditions[Condition_Sleep] || this->pConditions[Condition_Paralyzed] || + this->pConditions[Condition_Unconcious] || this->pConditions[Condition_Dead] || + this->pConditions[Condition_Pertified] || this->pConditions[Condition_Eradicated] ) + result = false; else - result = 1; + result = true; return result; }