mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-03-19 09:21:47 +00:00
Rename P_LoadThingsOnly to P_RespawnThings to make it clearer that it doesn't actually reload the things from the file, it just respawns them.
This commit is contained in:
parent
3971067cf3
commit
5590343043
3 changed files with 4 additions and 8 deletions
|
@ -2965,7 +2965,7 @@ void G_DoReborn(INT32 playernum)
|
|||
}
|
||||
if (!countdowntimeup && (mapheaderinfo[gamemap-1]->levelflags & LF_NORELOAD))
|
||||
{
|
||||
P_LoadThingsOnly();
|
||||
P_RespawnThings();
|
||||
|
||||
for (i = 0; i < MAXPLAYERS; i++)
|
||||
{
|
||||
|
|
|
@ -2206,12 +2206,8 @@ static void P_InitLevelSettings(void)
|
|||
CV_SetValue(&cv_analog2, true);
|
||||
}
|
||||
|
||||
//
|
||||
// P_LoadThingsOnly
|
||||
//
|
||||
// "Reloads" a level, but only reloads all of the mobjs.
|
||||
//
|
||||
void P_LoadThingsOnly(void)
|
||||
// Respawns all the mapthings and mobjs in the map from the already loaded map data.
|
||||
void P_RespawnThings(void)
|
||||
{
|
||||
// Search through all the thinkers.
|
||||
thinker_t *think;
|
||||
|
|
|
@ -96,7 +96,7 @@ void P_SetupLevelSky(INT32 skynum, boolean global);
|
|||
#ifdef SCANTHINGS
|
||||
void P_ScanThings(INT16 mapnum, INT16 wadnum, INT16 lumpnum);
|
||||
#endif
|
||||
void P_LoadThingsOnly(void);
|
||||
void P_RespawnThings(void);
|
||||
boolean P_LoadLevel(boolean fromnetsave);
|
||||
boolean P_AddWadFile(const char *wadfilename);
|
||||
boolean P_RunSOC(const char *socfilename);
|
||||
|
|
Loading…
Reference in a new issue