]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Hopefully fix monster model detection
authorMario <mario@smbclan.net>
Fri, 10 Jun 2016 17:30:28 +0000 (03:30 +1000)
committerMario <mario@smbclan.net>
Fri, 10 Jun 2016 17:30:28 +0000 (03:30 +1000)
qcsrc/common/animdecide.qc

index f5adbe7b77ff655f5d930137a0c3b430bca5924c..24599e3588165e1199d2c0681b4ddbb2a6c52520 100644 (file)
@@ -10,7 +10,7 @@
 bool monsters_animoverride(entity this)
 {
        Monster monster_id = NULL;
-       FOREACH(Monsters, it != MON_Null && it.model == this.model, {
+       FOREACH(Monsters, it != MON_Null && it.m_model == this.model, {
         monster_id = it;
         break;
        });