Merge branch 'master' into Mario/intrusive_2
authorMario <mario@smbclan.net>
Sat, 27 Aug 2016 05:50:24 +0000 (15:50 +1000)
committerMario <mario@smbclan.net>
Sat, 27 Aug 2016 05:50:24 +0000 (15:50 +1000)
21 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/mutators/mutator/overkill/rpc.qc
qcsrc/common/turrets/turret/walker.qc
qcsrc/common/vehicles/sv_vehicles.qc
qcsrc/common/weapons/weapon/arc.qc
qcsrc/common/weapons/weapon/devastator.qc
qcsrc/common/weapons/weapon/electro.qc
qcsrc/common/weapons/weapon/hagar.qc
qcsrc/common/weapons/weapon/hook.qc
qcsrc/common/weapons/weapon/minelayer.qc
qcsrc/common/weapons/weapon/mortar.qc
qcsrc/common/weapons/weapon/seeker.qc
qcsrc/server/client.qc
qcsrc/server/defs.qh
qcsrc/server/g_hook.qc
qcsrc/server/mutators/mutator/gamemode_ctf.qc
qcsrc/server/player.qc
qcsrc/server/sv_main.qc

@@@ -161,8 -159,8 +159,9 @@@ void M_Spider_Attack_Web(entity this
        proj.event_damage = func_null;
        proj.flags = FL_PROJECTILE;
        IL_PUSH(g_projectiles, proj);
+       IL_PUSH(g_bot_dodge, proj);
        proj.damagedbycontents = true;
 +      IL_PUSH(g_damagedbycontents, proj);
  
        proj.bouncefactor = 0.3;
        proj.bouncestop = 0.05;
Simple merge
Simple merge
Simple merge
Simple merge
@@@ -449,9 -451,8 +452,10 @@@ void W_Electro_Attack_Orb(Weapon thiswe
        proj.event_damage = W_Electro_Orb_Damage;
        proj.flags = FL_PROJECTILE;
        IL_PUSH(g_projectiles, proj);
+       IL_PUSH(g_bot_dodge, proj);
        proj.damagedbycontents = (WEP_CVAR_SEC(electro, damagedbycontents));
 +      if(proj.damagedbycontents)
 +              IL_PUSH(g_damagedbycontents, proj);
  
        proj.bouncefactor = WEP_CVAR_SEC(electro, bouncefactor);
        proj.bouncestop = WEP_CVAR_SEC(electro, bouncestop);
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
@@@ -426,12 -426,8 +426,11 @@@ const int MIF_GUIDED_CONFUSABLE = MIF_G
  
  .string cvar_cl_physics;
  
- .bool init_for_player_needed;
  .void(entity this, entity player) init_for_player;
  
 +IntrusiveList g_damagedbycontents;
 +STATIC_INIT(g_damagedbycontents) { g_damagedbycontents = IL_NEW(); }
 +
  IntrusiveList g_monsters;
  STATIC_INIT(g_monsters) { g_monsters = IL_NEW(); }
  
Simple merge
Simple merge
Simple merge