aboutsummaryrefslogtreecommitdiff
path: root/src/game/Creature.cpp
diff options
context:
space:
mode:
authorsilver1ce <none@none>2010-03-03 04:32:47 +0200
committersilver1ce <none@none>2010-03-03 04:32:47 +0200
commitf748ea34e383b6c2ed508b6c088f997e642b9712 (patch)
tree075c578d10f4a6e434ef6403eec30c24555a9be5 /src/game/Creature.cpp
parent9e63454b6306c369a9a0b8c21fd4d87e6e9f5a98 (diff)
changes in creature base stats storage
* speedup stats searching * no more default stat generation for each class-level pair, there is only one default stat * CreatureBaseStats does not contain level and class --HG-- branch : trunk
Diffstat (limited to 'src/game/Creature.cpp')
-rw-r--r--src/game/Creature.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/game/Creature.cpp b/src/game/Creature.cpp
index d88dddedd0c..7aada79974d 100644
--- a/src/game/Creature.cpp
+++ b/src/game/Creature.cpp
@@ -1083,7 +1083,6 @@ void Creature::SelectLevel(const CreatureInfo *cinfo)
SetLevel(level);
CreatureBaseStats const* stats = objmgr.GetCreatureBaseStats(level, cinfo->unit_class);
- assert(stats); // should not be null
// health
float healthmod = _GetHealthMod(rank);