From 271bddb2db7929d570952c98fbf123025f866335 Mon Sep 17 00:00:00 2001 From: Marco Hladik Date: Thu, 16 Sep 2021 18:43:09 +0200 Subject: [PATCH] Use GetSpawnX() methods instead of peeking into some attribute that may change. --- src/server/monster_scientist.qc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/server/monster_scientist.qc b/src/server/monster_scientist.qc index 5d14af2..a7b1bdd 100644 --- a/src/server/monster_scientist.qc +++ b/src/server/monster_scientist.qc @@ -312,7 +312,7 @@ monster_scientist::monster_scientist(void) base_maxs = [16,16,72]; base_health = Skill_GetValue("scientist_health", 20); CBaseNPC::CBaseNPC(); - precache_model(m_oldModel); + precache_model(GetSpawnModel()); if (m_iBody == -1) { /* This stuff needs to be persistent because we can't guarantee that