Mercurial > mm7
diff mm7_4.cpp @ 1340:22cb507446a4
turnengine refactoring continue
author | Gloval |
---|---|
date | Sat, 06 Jul 2013 00:29:29 +0400 |
parents | 8bfdc44cebfd |
children | b99aeb077d4f |
line wrap: on
line diff
--- a/mm7_4.cpp Fri Jul 05 17:37:30 2013 +0600 +++ b/mm7_4.cpp Sat Jul 06 00:29:29 2013 +0400 @@ -1875,7 +1875,7 @@ v43 = (signed __int64)v21->pPlayerBuffs[7].uExpireTime > 0; for (uint k = 0; k < 24; ++k) - v21->pPlayerBuffs[k]._4585CA(pParty->uTimePlayed); + v21->pPlayerBuffs[k].IsBuffExpiredToTime(pParty->uTimePlayed); if ( v43 && (signed __int64)v21->pPlayerBuffs[7].uExpireTime <= 0 ) v21->SetCondition(1u, 0); @@ -1886,7 +1886,7 @@ for (uint i = 0; i < 20; ++i) { - if (pParty->pPartyBuffs[i]._4585CA(pParty->uTimePlayed) == 1) + if (pParty->pPartyBuffs[i].IsBuffExpiredToTime(pParty->uTimePlayed) == 1) viewparams->bRedrawGameUI = 1; }