Fix monsters respawning not using their original monster definition
authorMario <mario.mario@y7mail.com>
Mon, 27 Jul 2020 09:12:26 +0000 (19:12 +1000)
committerMario <mario.mario@y7mail.com>
Mon, 27 Jul 2020 09:12:26 +0000 (19:12 +1000)
qcsrc/common/monsters/sv_monsters.qc

index b938b10..136f3c4 100644 (file)
@@ -512,7 +512,7 @@ bool Monster_Respawn_Check(entity this)
        return true;
 }
 
-void Monster_Respawn(entity this) { Monster_Spawn(this, true, this); }
+void Monster_Respawn(entity this) { Monster_Spawn(this, true, this.monsterdef); }
 
 .vector        pos1, pos2;