- Restored savegame compatibility that was removed in r3427.

SVN r3435 (trunk)
This commit is contained in:
Randy Heit 2012-03-13 02:43:24 +00:00
commit 58f7e72d1b
8 changed files with 128 additions and 34 deletions

View file

@ -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