Save waypoint riser / anchor data into spawnpoint
Allows -writetextmap to write the changes from these binary-only things.
This commit is contained in:
parent
14ea4495e1
commit
a66402a3ba
1 changed files with 6 additions and 0 deletions
|
|
@ -6842,8 +6842,10 @@ static void P_ConvertBinaryMap(void)
|
|||
P_ConvertBinaryThingTypes();
|
||||
P_ConvertBinaryLinedefFlags();
|
||||
|
||||
#if 0 // Don't do this yet...
|
||||
if (M_CheckParm("-writetextmap"))
|
||||
P_WriteTextmap();
|
||||
#endif
|
||||
}
|
||||
|
||||
/** Compute MD5 message digest for bytes read from memory source
|
||||
|
|
@ -7762,6 +7764,10 @@ boolean P_LoadLevel(boolean fromnetsave, boolean reloadinggamestate)
|
|||
{
|
||||
// Backwards compatibility for non-UDMF maps
|
||||
K_AdjustWaypointsParameters();
|
||||
|
||||
// Moved over here...
|
||||
if (M_CheckParm("-writetextmap"))
|
||||
P_WriteTextmap();
|
||||
}
|
||||
|
||||
if (!fromnetsave) // ugly hack for P_NetUnArchiveMisc (and P_LoadNetGame)
|
||||
|
|
|
|||
Loading…
Reference in a new issue