summaryrefslogtreecommitdiff
path: root/src/being.cpp
diff options
context:
space:
mode:
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)