summaryrefslogtreecommitdiff
path: root/src/being.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/being.cpp')
-rw-r--r--src/being.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/being.cpp b/src/being.cpp
index a562389f..b068270b 100644
--- a/src/being.cpp
+++ b/src/being.cpp
@@ -23,6 +23,7 @@
#include "being.h"
#include <algorithm>
+#include <cassert>
#include "animatedsprite.h"
#include "equipment.h"
@@ -137,7 +138,7 @@ Being::setHairStyle(int style, int color)
void
Being::setSprite(int slot, int id, std::string color)
{
- assert (slot >= BASE_SPRITE && slot < VECTOREND_SPRITE);
+ assert(slot >= BASE_SPRITE && slot < VECTOREND_SPRITE);
mSpriteIDs[slot] = id;
mSpriteColors[slot] = color;
}