]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Use a .qh file for this
authorSamual <samual@xonotic.org>
Thu, 12 Jan 2012 19:18:53 +0000 (14:18 -0500)
committerSamual <samual@xonotic.org>
Thu, 12 Jan 2012 19:18:53 +0000 (14:18 -0500)
qcsrc/client/damage.qc
qcsrc/client/damage.qh [new file with mode: 0644]

index 46ecf3aabe7571875d5e848a821d5788a55be944..620cdc873f81e190ff2b722990c3b531219ddb6a 100644 (file)
@@ -1,5 +1,3 @@
-.float total_damages;
-
 void DamageEffect_Think()
 {
        // if particle distribution is enabled, slow ticrate by total number of damages
diff --git a/qcsrc/client/damage.qh b/qcsrc/client/damage.qh
new file mode 100644 (file)
index 0000000..23982f1
--- /dev/null
@@ -0,0 +1 @@
+.float total_damages; // number of effects which currently are attached to a player
\ No newline at end of file