diff options
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | src/being.cpp | 3 |
2 files changed, 6 insertions, 1 deletions
@@ -1,3 +1,7 @@ +2007-12-10 Bjørn Lindeijer <bjorn@lindeijer.nl> + + * src/being.cpp: Include cassert header. + 2007-12-10 Philipp Sehmisch <tmw@crushnet.org> * src/being.cpp, src/being.h, src/net/beinghandler.cpp, 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; } |