summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2007-12-10 20:42:11 +0000
committerBjørn Lindeijer <bjorn@lindeijer.nl>2007-12-10 20:42:11 +0000
commita98d02eaf287932e3e83a980bac41ecc01f254f6 (patch)
tree4219fd7cac31965e6b06905c743df6f53f48375c
parent8707575fdee72ce82957fa97c69d914ecf1611e6 (diff)
downloadMana-a98d02eaf287932e3e83a980bac41ecc01f254f6.tar.gz
Mana-a98d02eaf287932e3e83a980bac41ecc01f254f6.tar.bz2
Mana-a98d02eaf287932e3e83a980bac41ecc01f254f6.tar.xz
Mana-a98d02eaf287932e3e83a980bac41ecc01f254f6.zip
Include cassert header.
-rw-r--r--ChangeLog4
-rw-r--r--src/being.cpp3
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 4437009b..34964745 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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;
}