Mercurial > mm7
diff Actor.cpp @ 100:81e93310f73c
rest screen, enemy status color fixed
author | zipi |
---|---|
date | Thu, 07 Feb 2013 22:23:10 +0000 |
parents | 1faa29fd4c2d |
children | cca78efb377e |
line wrap: on
line diff
--- a/Actor.cpp Thu Feb 07 21:02:19 2013 +0000 +++ b/Actor.cpp Thu Feb 07 22:23:10 2013 +0000 @@ -3930,11 +3930,11 @@ if ( !v7 ) { if ( (!v2 || (signed __int64)v2->pActorBuffs[12].uExpireTime > 0 || !(v2->uAttributes & 0x80000)) - && !*((unsigned char *)&pFactionTable->relations + 89 * v8) ) + && !pFactionTable->relations[v8][0]) { LABEL_56: if ( v8 < 89 ) - return *((unsigned char *)&pFactionTable->relations + 89 * v7 + v8); + return pFactionTable->relations[v7][v8]; return 0; } return 4;