summaryrefslogtreecommitdiff
path: root/src/game.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/game.h')
-rw-r--r--src/game.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game.h b/src/game.h
index 2aaabf96..5b73832e 100644
--- a/src/game.h
+++ b/src/game.h
@@ -60,7 +60,7 @@ class Game : public ConfigListener
/** The minimum frame time (used for frame limiting). */
int mMinFrameTime;
- typedef std::auto_ptr<MessageHandler> MessageHandlerPtr;
+ typedef const std::auto_ptr<MessageHandler> MessageHandlerPtr;
MessageHandlerPtr mBeingHandler;
MessageHandlerPtr mBuySellHandler;
MessageHandlerPtr mChatHandler;