]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
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 b938b10ed60b9e5149e00803f771b1ce297be15b..136f3c411b7d3649758b72472f50428792780906 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;