From 0aca242db52695fa0804ac180fc7961b281b422a Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 9 Mar 2013 00:32:28 +0300 Subject: Add new notifications to gamehandler. --- src/net/ea/gamehandler.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/net') diff --git a/src/net/ea/gamehandler.cpp b/src/net/ea/gamehandler.cpp index eaed1ec5d..4f1a6d5d6 100644 --- a/src/net/ea/gamehandler.cpp +++ b/src/net/ea/gamehandler.cpp @@ -25,6 +25,7 @@ #include "client.h" #include "game.h" #include "localplayer.h" +#include "notifymanager.h" #include "gui/okdialog.h" @@ -84,7 +85,7 @@ void GameHandler::processMapLogin(Net::MessageIn &msg) void GameHandler::processWhoAnswer(Net::MessageIn &msg) { - SERVER_NOTICE(strprintf(_("Online users: %d"), msg.readInt32())) + NotifyManager::notify(NotifyManager::ONLINE_USERS, msg.readInt32()); } void GameHandler::processCharSwitchResponse(Net::MessageIn &msg) -- cgit v1.2.3-60-g2f50