summaryrefslogtreecommitdiff
path: root/src/being
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-02-14 18:22:32 +0300
committerAndrei Karas <akaras@inbox.ru>2014-02-14 18:38:12 +0300
commitcbc1a498f79b8f9adc28801827b9c87959f1089c (patch)
treef88bb4dbb8191cc2e8adc29a5dd4350509fd4d17 /src/being
parente0bea9ae2681668da02870719fd2ec48678a15f3 (diff)
downloadmanaplus-cbc1a498f79b8f9adc28801827b9c87959f1089c.tar.gz
manaplus-cbc1a498f79b8f9adc28801827b9c87959f1089c.tar.bz2
manaplus-cbc1a498f79b8f9adc28801827b9c87959f1089c.tar.xz
manaplus-cbc1a498f79b8f9adc28801827b9c87959f1089c.zip
fix code style.
Diffstat (limited to 'src/being')
-rw-r--r--src/being/localplayer.cpp3
-rw-r--r--src/being/playerrelationslistener.h2
2 files changed, 3 insertions, 2 deletions
diff --git a/src/being/localplayer.cpp b/src/being/localplayer.cpp
index cc8436408..86db69d8d 100644
--- a/src/being/localplayer.cpp
+++ b/src/being/localplayer.cpp
@@ -2818,7 +2818,7 @@ void LocalPlayer::crazyMoveA()
move(1, 1);
break;
case 'U':
- move (-1, -1);
+ move(-1, -1);
break;
case 'L':
move(-1, 1);
@@ -3016,7 +3016,6 @@ void LocalPlayer::crazyMoveA()
emoteId = static_cast<unsigned char>(emo - 'a' + 11);
else if (emo >= 'A' && emo <= 'Z')
emoteId = static_cast<unsigned char>(emo - 'A' + 37);
-
}
if (mMoveProgram[mCrazyMoveState] == 'e')
emote(emoteId);
diff --git a/src/being/playerrelationslistener.h b/src/being/playerrelationslistener.h
index eefd69b9c..983f731e4 100644
--- a/src/being/playerrelationslistener.h
+++ b/src/being/playerrelationslistener.h
@@ -23,6 +23,8 @@
#ifndef BEING_PLAYERRELATIONSLISTENER_H
#define BEING_PLAYERRELATIONSLISTENER_H
+#include <string>
+
class PlayerRelationsListener
{
public: