forked from mirror/OpenTTD
(svn r22146) -Fix: don't run savegame conversion during SlNullPointers; the pointer might not be converted or be NULL at that point
This commit is contained in:
@@ -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) {
|
||||
|
Reference in New Issue
Block a user