summaryrefslogtreecommitdiff
path: root/src/being.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-02-08 00:49:41 +0300
committerAndrei Karas <akaras@inbox.ru>2012-02-08 00:49:41 +0300
commitff5e17ff14a78af31d9d23cd1dfdb5404f9a8fa9 (patch)
tree51a99a43eba0b09ca9e5f554b3676d0308685797 /src/being.cpp
parent538261b13990ee02bbc62d9704233885b15cee04 (diff)
downloadplus-ff5e17ff14a78af31d9d23cd1dfdb5404f9a8fa9.tar.gz
plus-ff5e17ff14a78af31d9d23cd1dfdb5404f9a8fa9.tar.bz2
plus-ff5e17ff14a78af31d9d23cd1dfdb5404f9a8fa9.tar.xz
plus-ff5e17ff14a78af31d9d23cd1dfdb5404f9a8fa9.zip
Fix code style with new tool.
Diffstat (limited to 'src/being.cpp')
-rw-r--r--src/being.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/being.cpp b/src/being.cpp
index 9edfaad7b..92d01097b 100644
--- a/src/being.cpp
+++ b/src/being.cpp
@@ -295,9 +295,9 @@ Being::~Being()
{
config.removeListener("visiblenames", this);
- delete[] mSpriteRemap;
+ delete [] mSpriteRemap;
mSpriteRemap = nullptr;
- delete[] mSpriteHide;
+ delete [] mSpriteHide;
mSpriteHide = nullptr;
delete mSpeechBubble;
@@ -993,7 +993,6 @@ void Being::setAction(Action action, int attackType A_UNUSED)
case DIRECTION_RIGHT: rotation = 270; break;
default: break;
}
- ;
if (particleEngine)
{
Particle *p = particleEngine->addEffect(
@@ -2404,7 +2403,7 @@ void Being::searchSlotValueItr(std::vector<int>::iterator &it, int &idx,
// logger->log("searching %d", val);
it = slotRemap.begin();
idx = 0;
- while(it != slotRemap.end())
+ while (it != slotRemap.end())
{
// logger->log("testing %d", *it);
if (*it == val)