From: Mario Date: Fri, 10 Jun 2016 17:30:28 +0000 (+1000) Subject: Hopefully fix monster model detection X-Git-Tag: xonotic-v0.8.2~835 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=d2daf21b3ee17aa8f13b8c5a155826e716e6cf18;p=xonotic%2Fxonotic-data.pk3dir.git Hopefully fix monster model detection --- diff --git a/qcsrc/common/animdecide.qc b/qcsrc/common/animdecide.qc index f5adbe7b7..24599e358 100644 --- a/qcsrc/common/animdecide.qc +++ b/qcsrc/common/animdecide.qc @@ -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; });