A few debugging prints to help me with something...

This commit is contained in:
Finny Merrill 2003-11-30 00:12:57 +00:00
parent aac67f34f0
commit 06921195fa
2 changed files with 3 additions and 0 deletions

View file

@ -1055,6 +1055,8 @@ void(entity Goal, entity Player, entity AP, float addb) Apply_Results =
Player.lives = Player.lives + Goal.lives; Player.lives = Player.lives + Goal.lives;
RPrint("Giving " + ftos(Goal.frags) + " frags to " + Player.netname +" from goal " + Goal.netname + ".\n");
Player.real_frags = Player.real_frags + Goal.frags; Player.real_frags = Player.real_frags + Goal.frags;
if (!(toggleflags & TFLAG_TEAMFRAGS)) if (!(toggleflags & TFLAG_TEAMFRAGS))
Player.frags = Player.real_frags; Player.frags = Player.real_frags;

View file

@ -612,6 +612,7 @@ void(float tno, float scoretoadd) TeamFortress_TeamIncreaseScore =
// If TeamFrags is on, update all the team's player's frags. // If TeamFrags is on, update all the team's player's frags.
if (toggleflags & TFLAG_TEAMFRAGS) if (toggleflags & TFLAG_TEAMFRAGS)
{ {
RPrint ("Teamfrags is on!\n");
e = find(NIL, classname, "player"); e = find(NIL, classname, "player");
while (e) while (e)
{ {