Diff of /creature.cpp [5641a0] .. [e36367] Maximize Restore

  Switch to side-by-side view

--- a/creature.cpp
+++ b/creature.cpp
@@ -821,7 +821,10 @@
     
     //creature memory
     flg=adjust_actpoint(header.memoffs);
-    if(flg<0) return flg;
+    if(flg<0) {
+      if (header.memcnt) return flg;
+      else flg=1;
+    }
     ret|=flg;
     if(header.memcnt!=memocount)
     {