Diff of /GameEdit.cpp [828aba] .. [477acb]  Maximize  Restore

Switch to side-by-side view

--- a/GameEdit.cpp
+++ b/GameEdit.cpp
@@ -241,7 +241,7 @@
   {
     ret=CString(customname);
   }
-  if(ret.IsEmpty()) ret=resolve_tlk_text(creatureheader->longname);
+  if(ret.IsEmpty() && creatureheader) ret=resolve_tlk_text(creatureheader->longname);
   return ret;
 }
 

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks