From 6a5e9a013a2bf8ca6b99c1c45b58de4d72b662ef Mon Sep 17 00:00:00 2001 From: Ira Rice Date: Fri, 9 Jan 2009 22:07:45 -0700 Subject: Added the ability to save GM assert state to the client, as requested. Signed-off-by: Ira Rice --- src/localplayer.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/localplayer.cpp') diff --git a/src/localplayer.cpp b/src/localplayer.cpp index fb568d20..c6ce6fc5 100644 --- a/src/localplayer.cpp +++ b/src/localplayer.cpp @@ -173,7 +173,8 @@ void LocalPlayer::logic() void LocalPlayer::setGM() { mIsGM = !mIsGM; - setName(getName()); + setName(getName()); + config.setValue(getName() + "GMassert", mIsGM); } void LocalPlayer::setName(const std::string &name) -- cgit v1.2.3-70-g09d2