Whoops, had params reversed, giving people frags when they were killed (hahe)

Also add more info to printtrace
This commit is contained in:
Finny Merrill 2003-12-14 12:58:28 +00:00
parent ce7cb2fcb0
commit 4de3b170bc
2 changed files with 4 additions and 4 deletions

View File

@ -77,7 +77,7 @@ void (float oneline) printtrace =
RPrint ("endpos: " + vtos (trace_endpos) + sep);
RPrint ("plane_normal: " + vtos (trace_plane_normal) + sep);
RPrint ("plane_dist: " + ftos (trace_plane_dist) + sep);
RPrint ("ent: " + (trace_ent ? "yes" : "no") + sep);
RPrint ("ent: " + (trace_ent ? trace_ent.classname : "no") + sep);
RPrint ("inopen: " + ftos (trace_inopen) + sep);
RPrint ("inwater: " + ftos (trace_inwater) + "\n");

View File

@ -72,7 +72,7 @@ It's cleaner that way.
===========
*/
void(entity atk, entity targ) Give_Frags_Player =
void(entity targ, entity atk) Give_Frags_Player =
{
local float numfrags = 1, chkvamp = 1;
@ -115,7 +115,7 @@ void(entity atk, entity targ) Give_Frags_Player =
};
void (entity atk, entity targ) Give_Frags_Monster =
void (entity targ, entity atk) Give_Frags_Monster =
{
if (atk == targ)
return; // no neg frags to monsters
@ -136,7 +136,7 @@ void (entity atk, entity targ) Give_Frags_Monster =
Give_Frags_Player(atk, targ);
};
void (entity atk, entity targ) Give_Frags_Building =
void (entity targ, entity atk) Give_Frags_Building =
{
if (atk == targ)
return;