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 /src/being.cpp | |
parent | 8707575fdee72ce82957fa97c69d914ecf1611e6 (diff) | |
download | mana-a98d02eaf287932e3e83a980bac41ecc01f254f6.tar.gz mana-a98d02eaf287932e3e83a980bac41ecc01f254f6.tar.bz2 mana-a98d02eaf287932e3e83a980bac41ecc01f254f6.tar.xz mana-a98d02eaf287932e3e83a980bac41ecc01f254f6.zip |
Include cassert header.
Diffstat (limited to 'src/being.cpp')
-rw-r--r-- | src/being.cpp | 3 |
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; } |