mirror of https://github.com/OpenTTD/OpenTTD
(svn r22146) -Fix: don't run savegame conversion during SlNullPointers; the pointer might not be converted or be NULL at that point
parent
31386c42a7
commit
ae6dca77e5
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue