diff Player.cpp @ 318:981fbe2da232

spellbook spells fixed
author zipi
date Tue, 19 Feb 2013 23:49:35 +0000
parents e41fe9cf3613
children ce39b96acf5c
line wrap: on
line diff
--- a/Player.cpp	Wed Feb 20 01:21:59 2013 +0200
+++ b/Player.cpp	Tue Feb 19 23:49:35 2013 +0000
@@ -7542,7 +7542,7 @@
       goto LABEL_92;
     }
     v15 = pParty->pPickedItem.uItemID - 400;
-    v72 = (char *)&v3->pConditions[0] + pParty->pPickedItem.uItemID + 2;
+    v72 = (char *)&v3->spellbook.pFireSpellbook+pParty->pPickedItem.uItemID-400;//(char *)&v3->pConditions[0] + pParty->pPickedItem.uItemID + 2;
     if ( *v72 )
     {
       v66 = pParty->pPickedItem.GetDisplayName();