mirror of
https://github.com/ZDoom/gzdoom-last-svn.git
synced 2025-06-04 11:10:48 +00:00
* Updated to ZDoom r3435:
- Restored savegame compatibility that was removed in r3427. git-svn-id: http://mancubus.net/svn/hosted/gzdoom/trunk@1312 b0f79afe-0144-0410-b225-9a4edf0717df
This commit is contained in:
parent
0d5aeb10a6
commit
0b513a0098
9 changed files with 130 additions and 36 deletions
|
@ -2613,8 +2613,18 @@ void player_t::Serialize (FArchive &arc)
|
|||
<< BlendR
|
||||
<< BlendG
|
||||
<< BlendB
|
||||
<< BlendA
|
||||
<< LogText
|
||||
<< BlendA;
|
||||
if (SaveVersion < 3427)
|
||||
{
|
||||
WORD oldaccuracy, oldstamina;
|
||||
arc << oldaccuracy << oldstamina;
|
||||
if (mo != NULL)
|
||||
{
|
||||
mo->accuracy = oldaccuracy;
|
||||
mo->stamina = oldstamina;
|
||||
}
|
||||
}
|
||||
arc << LogText
|
||||
<< ConversationNPC
|
||||
<< ConversationPC
|
||||
<< ConversationNPCAngle
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue