From fd22b6969ce7ce968820153ac985370a4db650d9 Mon Sep 17 00:00:00 2001 From: Mario Date: Mon, 29 Jun 2020 22:40:57 +1000 Subject: [PATCH] Use new registry get method where applicable in the monster code --- qcsrc/common/monsters/sv_monsters.qc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qcsrc/common/monsters/sv_monsters.qc b/qcsrc/common/monsters/sv_monsters.qc index bdd8e5159a..bddfa18458 100644 --- a/qcsrc/common/monsters/sv_monsters.qc +++ b/qcsrc/common/monsters/sv_monsters.qc @@ -857,7 +857,7 @@ void Monster_Dead_Think(entity this) { this.nextthink = time + this.ticrate; - Monster mon = Monsters_from(this.monsterid); + Monster mon = REGISTRY_GET(Monsters, this.monsterid); mon.mr_deadthink(mon, this); if(this.monster_lifetime != 0) -- 2.39.2