Mercurial > mm7
diff mm7_3.cpp @ 864:0b4fc79351b6
* decompiler error float compare
* Hostility_Friendly initialization
author | zipi |
---|---|
date | Sun, 31 Mar 2013 18:31:37 +0100 |
parents | b7b67485ec43 |
children | 883221c72cf1 |
line wrap: on
line diff
--- a/mm7_3.cpp Sun Mar 31 17:40:31 2013 +0100 +++ b/mm7_3.cpp Sun Mar 31 18:31:37 2013 +0100 @@ -15767,7 +15767,7 @@ else if ( (signed int)v21->pMonsterInfo.uRecoveryTime > 0 ) { v47 = (double)(signed int)v21->pMonsterInfo.uRecoveryTime * 2.133333333333333; - if ( !(v54 | v55) || v21->pMonsterInfo.uMovementType == 5 ) + if ( v80 * 307.2 > (double)v81 || v21->pMonsterInfo.uMovementType == 5 ) { v64 = (signed __int64)v47; Actor::AI_Stand(actor_id, target_pid, v64, &pDir);