Merge branch 'master' into Mario/intrusive_2
authorMario <mario@smbclan.net>
Sat, 22 Oct 2016 17:48:51 +0000 (03:48 +1000)
committerMario <mario@smbclan.net>
Sat, 22 Oct 2016 17:48:51 +0000 (03:48 +1000)
15 files changed:
1  2 
qcsrc/common/monsters/monster/shambler.qc
qcsrc/common/monsters/monster/spider.qc
qcsrc/common/monsters/sv_monsters.qc
qcsrc/common/mutators/mutator/nades/nades.qc
qcsrc/common/vehicles/sv_vehicles.qc
qcsrc/common/weapons/weapon/arc.qc
qcsrc/common/weapons/weapon/devastator.qc
qcsrc/common/weapons/weapon/hagar.qc
qcsrc/common/weapons/weapon/hook.qc
qcsrc/common/weapons/weapon/mortar.qc
qcsrc/common/weapons/weapon/seeker.qc
qcsrc/server/client.qc
qcsrc/server/defs.qh
qcsrc/server/mutators/mutator/gamemode_ctf.qc
qcsrc/server/player.qc

@@@ -1300,12 -1296,9 +1296,12 @@@ bool Monster_Spawn(entity this, bool ch
        if(!autocvar_g_monsters) { Monster_Remove(this); return false; }
  
        if(!(this.spawnflags & MONSTERFLAG_RESPAWNED))
 +      {
                IL_PUSH(g_monsters, this);
 +              IL_PUSH(g_damagedbycontents, this);
 +      }
  
-       if(Monster_Appear_Check(this, mon_id)) { return true; } // return true so the monster isn't removed
+       if(check_appear && Monster_Appear_Check(this, mon_id)) { return true; } // return true so the monster isn't removed
  
        if(!this.monster_skill)
                this.monster_skill = cvar("g_monsters_skill");
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge