diff options
Diffstat (limited to 'src/gui/chatwindow.cpp')
-rw-r--r-- | src/gui/chatwindow.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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; |