mirror of
https://github.com/ZDoom/qzdoom-gpl.git
synced 2024-11-16 01:02:03 +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
|
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)
|
if (isbot)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue