- Restored savegame compatibility that was removed in r3427.
SVN r3435 (trunk)
This commit is contained in:
parent
c05345668c
commit
58f7e72d1b
8 changed files with 128 additions and 34 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