X-Git-Url: http://de.git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fcommon%2Fmonsters%2Fsv_monsters.qc;h=a89e55b1ce0b6644ddde27b59bacb7b30dbefa03;hb=c757b2b2307fcc48ebdbf10b590142bd4d42f759;hp=80fe726e348be6ac71af298e8e773eee34302524;hpb=cc37ae9ec08cca9f8b17cdbf91e71380d0d6f700;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/common/monsters/sv_monsters.qc b/qcsrc/common/monsters/sv_monsters.qc index 80fe726e3..a89e55b1c 100644 --- a/qcsrc/common/monsters/sv_monsters.qc +++ b/qcsrc/common/monsters/sv_monsters.qc @@ -1328,6 +1328,8 @@ bool Monster_Spawn(entity this, bool check_appear, int mon_id) this.bot_attack = true; this.iscreature = true; this.teleportable = true; + if(!this.damagedbycontents) + IL_PUSH(g_damagedbycontents, this); this.damagedbycontents = true; this.monsterid = mon_id; this.event_damage = Monster_Damage;