[nexuiz-commits] r6705 - trunk/data/qcsrc/server
DONOTREPLY at icculus.org
DONOTREPLY at icculus.org
Mon May 11 08:34:11 EDT 2009
Author: div0
Date: 2009-05-11 08:34:11 -0400 (Mon, 11 May 2009)
New Revision: 6705
Modified:
trunk/data/qcsrc/server/cl_weaponsystem.qc
Log:
hit plots: also print weapon number
Modified: trunk/data/qcsrc/server/cl_weaponsystem.qc
===================================================================
--- trunk/data/qcsrc/server/cl_weaponsystem.qc 2009-05-11 11:30:50 UTC (rev 6704)
+++ trunk/data/qcsrc/server/cl_weaponsystem.qc 2009-05-11 12:34:11 UTC (rev 6705)
@@ -91,8 +91,8 @@
antilag_takeback(trace_ent, time - lag);
hitplot = W_HitPlotNormalizedUntransform(org, trace_ent, screenforward, screenright, screenup, trace_endpos);
antilag_restore(trace_ent);
- fputs(player.hitplotfh, strcat(ftos(hitplot_x), " ", ftos(hitplot_y), " ", ftos(hitplot_z), "\n"));
- print(strcat(ftos(hitplot_x), " ", ftos(hitplot_y), " ", ftos(hitplot_z), "\n"));
+ fputs(player.hitplotfh, strcat(ftos(hitplot_x), " ", ftos(hitplot_y), " ", ftos(hitplot_z), " ", ftos(player.switchweapon), "\n"));
+ //print(strcat(ftos(hitplot_x), " ", ftos(hitplot_y), " ", ftos(hitplot_z), "\n"));
}
}
}
More information about the nexuiz-commits
mailing list