- Fixed: M_NotifyNewSave() needlessly created a copy of the filename.
- Fixed: Any touching_sectorlists for actors unlinked in G_StartTravel() were lost forever. - Fixed: DLightningThinker::Serialize() did not delete the old LightningLightLevels array when loading from an archive. - Fixed: Although I moved the correct polyobject freeing code into P_FreeLevelData(), I left the old wrong code there too, which just deleted the array without deleting anything hanging off of it. SVN r127 (trunk)
This commit is contained in:
parent
ba01f00d7c
commit
a39f5bb8f7
9 changed files with 46 additions and 23 deletions
|
|
@ -121,7 +121,7 @@ TAutoGrowArray<SDWORD> ACS_GlobalArrays[NUM_GLOBALVARS];
|
|||
extern bool netdemo;
|
||||
extern FString BackupSaveName;
|
||||
|
||||
BOOL savegamerestore;
|
||||
bool savegamerestore;
|
||||
|
||||
extern int mousex, mousey;
|
||||
extern bool sendpause, sendsave, sendturn180, SendLand;
|
||||
|
|
@ -1949,6 +1949,7 @@ void G_StartTravel ()
|
|||
if (players[i].health > 0)
|
||||
{
|
||||
pawn->UnlinkFromWorld ();
|
||||
P_DelSector_List ();
|
||||
pawn->RemoveFromHash ();
|
||||
pawn->ChangeStatNum (STAT_TRAVELLING);
|
||||
|
||||
|
|
@ -1956,6 +1957,7 @@ void G_StartTravel ()
|
|||
{
|
||||
inv->ChangeStatNum (STAT_TRAVELLING);
|
||||
inv->UnlinkFromWorld ();
|
||||
P_DelSector_List ();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue