From 37dffe210f3ae355d9699146885e288dc022bda7 Mon Sep 17 00:00:00 2001 From: Randy Heit Date: Sat, 21 Jul 2012 03:04:59 +0000 Subject: [PATCH] - Fixed: player_t::settings_controller was not serialized. SVN r3780 (trunk) --- src/p_user.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/p_user.cpp b/src/p_user.cpp index e5fd9d7bb0..6b853e8b8e 100644 --- a/src/p_user.cpp +++ b/src/p_user.cpp @@ -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) {