diff options
author | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2007-12-10 20:42:11 +0000 |
---|---|---|
committer | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2007-12-10 20:42:11 +0000 |
commit | a98d02eaf287932e3e83a980bac41ecc01f254f6 (patch) | |
tree | 4219fd7cac31965e6b06905c743df6f53f48375c | |
parent | 8707575fdee72ce82957fa97c69d914ecf1611e6 (diff) | |
download | Mana-a98d02eaf287932e3e83a980bac41ecc01f254f6.tar.gz Mana-a98d02eaf287932e3e83a980bac41ecc01f254f6.tar.bz2 Mana-a98d02eaf287932e3e83a980bac41ecc01f254f6.tar.xz Mana-a98d02eaf287932e3e83a980bac41ecc01f254f6.zip |
Include cassert header.
-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; } |