mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-24 04:51:41 +00:00
- Fixed: player_t::settings_controller was not serialized.
SVN r3780 (trunk)
This commit is contained in:
parent
d2843c199e
commit
37dffe210f
1 changed files with 8 additions and 0 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue