- Fixed: player_t::settings_controller was not serialized.

SVN r3780 (trunk)
This commit is contained in:
Randy Heit 2012-07-21 03:04:59 +00:00
parent d2843c199e
commit 37dffe210f

View file

@ -2699,6 +2699,14 @@ void player_t::Serialize (FArchive &arc)
{
cheats &= ~(1 << 17); // make sure old CF_REGENERATION bit is cleared
}
if (SaveVersion >= 3780)
{
arc << settings_controller;
}
else
{
settings_controller = (this - players == Net_Arbitrator);
}
if (isbot)
{