summaryrefslogtreecommitdiff
path: root/src/gui/windows/chatwindow.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-01-02 17:09:48 +0300
committerAndrei Karas <akaras@inbox.ru>2015-01-02 17:09:48 +0300
commit270b231714d47afa5f3caa89f4ff2415d394c1fa (patch)
tree6149aef26922d5071e0ab9d7f036387d29b6c13b /src/gui/windows/chatwindow.cpp
parent38bed185876ab4e639412392005c0fe01e05d4f2 (diff)
downloadmv-270b231714d47afa5f3caa89f4ff2415d394c1fa.tar.gz
mv-270b231714d47afa5f3caa89f4ff2415d394c1fa.tar.bz2
mv-270b231714d47afa5f3caa89f4ff2415d394c1fa.tar.xz
mv-270b231714d47afa5f3caa89f4ff2415d394c1fa.zip
Fix code style.
Diffstat (limited to 'src/gui/windows/chatwindow.cpp')
-rw-r--r--src/gui/windows/chatwindow.cpp4
1 files changed, 2 insertions, 2 deletions
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<BeingDirection::Type>(
+ localPetDirection(nick, static_cast<uint8_t>(
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)