From 270b231714d47afa5f3caa89f4ff2415d394c1fa Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 2 Jan 2015 17:09:48 +0300 Subject: Fix code style. --- src/gui/windows/chatwindow.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/gui/windows/chatwindow.cpp') diff --git a/src/gui/windows/chatwindow.cpp b/src/gui/windows/chatwindow.cpp index bcf72a0a1..9190f44f0 100644 --- a/src/gui/windows/chatwindow.cpp +++ b/src/gui/windows/chatwindow.cpp @@ -1526,7 +1526,7 @@ bool ChatWindow::resortChatLog(std::string line, { const std::string nick = line.substr(0, idx2 - 1); line = line.substr(idx2 + 6); - localPetDirection(nick, static_cast( + localPetDirection(nick, static_cast( atoi(line.c_str()))); } else if (line.find(": \302\202\302a") != std::string::npos) @@ -1714,7 +1714,7 @@ void ChatWindow::localPetMove(const std::string &nick, } void ChatWindow::localPetDirection(const std::string &nick, - BeingDirection::Type dir) + uint8_t dir) { Being *const pet = getPetForNick(nick); if (pet) -- cgit v1.2.3-70-g09d2