mirror of
https://git.code.sf.net/p/quake/prozac-qfcc
synced 2024-11-30 16:01:49 +00:00
A few debugging prints to help me with something...
This commit is contained in:
parent
aac67f34f0
commit
06921195fa
2 changed files with 3 additions and 0 deletions
|
@ -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;
|
||||||
|
|
|
@ -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)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue