1
0
Fork 0

(svn r22146) -Fix: don't run savegame conversion during SlNullPointers; the pointer might not be converted or be NULL at that point

release/1.2
rubidium 2011-02-26 17:56:51 +00:00
parent 31386c42a7
commit ae6dca77e5
1 changed files with 5 additions and 0 deletions

View File

@ -450,6 +450,11 @@ static void SlNullPointers()
{
_sl.action = SLA_NULL;
/* We don't want any savegame conversion code to run
* during NULLing; especially those that try to get
* pointers from other pools. */
_sl_version = SAVEGAME_VERSION;
DEBUG(sl, 1, "Nulling pointers");
FOR_ALL_CHUNK_HANDLERS(ch) {