comment out some code that really sucks right now

This commit is contained in:
Finny Merrill 2004-04-05 11:34:15 +00:00
parent 3c6855b5ff
commit 0b50ac165e
2 changed files with 4 additions and 0 deletions

View file

@ -2853,6 +2853,7 @@ void() PlayerPreThink =
deathmsg = DMSG_OUTOFBOUNDS;
TF_T_Damage (self, NIL, NIL, self.health + 100, TF_TD_IGNOREARMOUR, TF_TD_OTHER);
}
#ifdef REALLY_BUGGY_CODE
else if (trace_startsolid && trace_ent.classname != "force_field")
{
deathmsg = DMSG_PHYSICS;
@ -2892,6 +2893,7 @@ void() PlayerPreThink =
{
self.stucktime = 0;
}
#endif
}
else
{

View file

@ -320,6 +320,7 @@ void(entity targ, entity inflictor, entity attacker, float damage, float T_flags
}
#endif
#ifndef REALLY_BUGGY_CODE // This really really sucks
if (inflictor.martyr_enemy && (Teammate(attacker.team_no, targ.team_no) || Teammate(attacker.team_no,targ.real_owner.team_no)))
{
if (!Teammate(inflictor.martyr_enemy.team_no, targ.real_owner.team_no) && !Teammate(inflictor.martyr_enemy.team_no, targ.team_no))
@ -340,6 +341,7 @@ void(entity targ, entity inflictor, entity attacker, float damage, float T_flags
Teammate(attacker.team_no, targplayer.team_no))
attacker = inflictor.AIRG_FlyTracker;
}
#endif
//BOOKKEEPING
//WK Store last person who shot martyr into .enemy