Merge branch 'master' of https://github.com/rheit/zdoom
This commit is contained in:
commit
58bc64ee8f
2 changed files with 10 additions and 0 deletions
|
|
@ -1295,6 +1295,11 @@ void G_FinishTravel ()
|
|||
}
|
||||
|
||||
bglobal.FinishTravel ();
|
||||
|
||||
// make sure that, after travelling has completed, no travelling thinkers are left.
|
||||
// Since this list is excluded from regular thinker cleaning, anything that may survive through here
|
||||
// will endlessly multiply and severely break the following savegames or just simply crash on broken pointers.
|
||||
DThinker::DestroyThinkersInList(STAT_TRAVELLING);
|
||||
}
|
||||
|
||||
//==========================================================================
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue