diff mm7_5.cpp @ 99:b7ff791b1333

spells tab fix, small fixes
author zipi
date Thu, 07 Feb 2013 21:02:19 +0000
parents 471b1354cc73
children 2baff1256844 bd185c7cbd09
line wrap: on
line diff
--- a/mm7_5.cpp	Thu Feb 07 15:25:44 2013 +0600
+++ b/mm7_5.cpp	Thu Feb 07 21:02:19 2013 +0000
@@ -13284,7 +13284,7 @@
 
   v0 = 0;
   if ( uActiveCharacter )
-    v0 = *((char *)&pParty->pPartyBuffs[5].uExpireTime + 6972 * uActiveCharacter + 2);
+	  v0 = pParty->pPlayers[uActiveCharacter-1].pNumSpellBookPage;//*((char *)&pParty->pPartyBuffs[5].uExpireTime + 6972 * uActiveCharacter + 2);
   pRenderer->DrawTextureIndexed(8u, 8u, pTextures_5064A0[v0]);
   pRenderer->DrawTextureIndexed(0x1DCu, 0x1C2u, pTexture_50643C);
   pRenderer->DrawTextureIndexed(0x231u, 0x1C2u, pTexture_506448);