Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

Diff of /creature.cpp [912cf3] .. [a0d2c4] Maximize Restore

  Switch to side-by-side view

--- a/creature.cpp
+++ b/creature.cpp
@@ -36,6 +36,7 @@
   pst_overlay_size=0;
   revision=10;
   memset(iwd2_spells,0,sizeof(iwd2_spells));
+  memset(iwd2_free,0,sizeof(iwd2_free));
   m_savechanges=true;
 }
 
@@ -256,7 +257,7 @@
 
   if(revision==22)
   {
-    write_iwd2_spells();
+    write_iwd2_spells(fhandle);
   }
   else
   {
@@ -499,7 +500,7 @@
   return flg;
 }
 
-int Ccreature::write_iwd2_spells()
+int Ccreature::write_iwd2_spells(int fhandle)
 {
   int position, esize;