Mercurial > might-and-magic-trilogy
diff Player.cpp @ 191:d625cbdf34f0
25.12.12(byte_4ED3D8)
author | Ritor1 |
---|---|
date | Tue, 25 Dec 2012 22:24:33 +0600 |
parents | d7bd52a35e52 |
children | 1f1de8a1e988 |
line wrap: on
line diff
--- a/Player.cpp Mon Dec 24 07:48:44 2012 +0600 +++ b/Player.cpp Tue Dec 25 22:24:33 2012 +0600 @@ -573,7 +573,7 @@ Player *pPlayer; // edi@1 int v4; // eax@4 signed int v5; // esi@4 - unsigned __int8 *v6; // ebx@4 + short *v6; // ebx@4 signed int v7; // ecx@5 unsigned __int8 v8; // al@6 int v9; // eax@10 @@ -604,13 +604,13 @@ v4 = a2;//102 v5 = 0; pSoundId = 0; - v6 = &byte_4ED3D8[8 * v4];//byte_4ED280 + v6 = &byte_4ED3D8[8 * v4];//byte_4ED280 &byte_4ED3D8[4 * v4] if ( uVoicesVolumeMultiplier ) { v7 = 0; do { - v8 = v6[v7]; + v8 = *((_BYTE *)v6 + v7); if ( v8 ) v20[v5++] = v8; ++v7;