diff GUIWindow.cpp @ 142:8b8fd4d83fdc

Various things here and there
author Nomad
date Tue, 12 Feb 2013 06:28:08 +0200
parents 9b0d651821f1
children 9abdd40a107b
line wrap: on
line diff
--- a/GUIWindow.cpp	Tue Feb 12 03:02:13 2013 +0200
+++ b/GUIWindow.cpp	Tue Feb 12 06:28:08 2013 +0200
@@ -978,7 +978,7 @@
   LoadSpellbook(pPlayer->pNumSpellBookPage);
   v3 = 0;
   a2 = 0;
-  v7 = (int)(&pPlayer->spellbook.pFireSpellbook + pPlayer->pNumSpellBookPage);
+  v7 = (int)&pPlayer->spellbook.pChapters[pPlayer->pNumSpellBookPage];
   do
   {
     if ( *(char *)(v7 + v3) )