From 65f11a2d85f26932b0e2f0679ddbfc6b6fc4b635 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 15 Jul 2012 18:37:00 +0300 Subject: Fix code style. --- src/gui/chatwindow.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/gui/chatwindow.cpp') diff --git a/src/gui/chatwindow.cpp b/src/gui/chatwindow.cpp index 966223685..1ea40a207 100644 --- a/src/gui/chatwindow.cpp +++ b/src/gui/chatwindow.cpp @@ -932,7 +932,7 @@ void ChatWindow::processEvent(Channels channel, const DepricatedEvent &event) { switch (event.getInt("id")) { - case EXP: + case PlayerInfo::EXP: { if (event.getInt("oldValue") > event.getInt("newValue")) break; @@ -944,7 +944,7 @@ void ChatWindow::processEvent(Channels channel, const DepricatedEvent &event) battleChatLog("+" + toString(change) + " xp"); break; } - case LEVEL: + case PlayerInfo::LEVEL: battleChatLog("Level: " + toString( event.getInt("newValue"))); break; -- cgit v1.2.3-70-g09d2