summaryrefslogtreecommitdiff
path: root/Creatures.cpp
diff options
context:
space:
mode:
authorJapa2010-08-23 14:44:21 +0000
committerJapa2010-08-23 14:44:21 +0000
commitf1721b71b7e27defa6604e27f806168af017a478 (patch)
treeaa88265aa5622d43dbe100f57665f450dce0ff22 /Creatures.cpp
parentb9bdf197ee873dbba05915eb965d9524eae25f2f (diff)
downloadstonesense-f1721b71b7e27defa6604e27f806168af017a478.tar.gz
stonesense-f1721b71b7e27defa6604e27f806168af017a478.tar.bz2
stonesense-f1721b71b7e27defa6604e27f806168af017a478.tar.xz
removed un-needed DF connects, and fixed an issue with animated creatures.
Diffstat (limited to 'Creatures.cpp')
-rw-r--r--Creatures.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/Creatures.cpp b/Creatures.cpp
index 3e1e351..72f3dc0 100644
--- a/Creatures.cpp
+++ b/Creatures.cpp
@@ -447,6 +447,7 @@ CreatureConfiguration *GetCreatureConfig( t_creature* c ){
if (!(testConfig->sprite.get_animframes() & (1 << offsetAnimFrame)))
continue;
+
// dont try to match strings until other tests pass
if( testConfig->professionstr[0])
{ //cant be NULL, so check has length