]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Move another small piece of random weapons around
authorMario <mario@smbclan.net>
Sat, 9 Jun 2018 13:31:14 +0000 (23:31 +1000)
committerMario <mario@smbclan.net>
Sat, 9 Jun 2018 13:31:14 +0000 (23:31 +1000)
qcsrc/common/mutators/mutator/weaponarena_random/sv_weaponarena_random.qh
qcsrc/server/g_damage.qh

index 7fb9581bb73379872a8c51ea7dccb5ddf8a38a65..4af3cf03622565bbb5e9a45f1481222dec37c230 100644 (file)
@@ -1,3 +1,5 @@
 #pragma once
 
 float g_weaponarena_random_with_blaster;
+
+entity GiveFrags_randomweapons;
index 4f68c2ea00a4d55ff06fa50c6a3d71e8df6c863e..9c4983fee1b7d34c28483d8743b75dee015e7a69 100644 (file)
@@ -58,7 +58,6 @@ void UpdateFrags(entity player, int f);
 
 // NOTE: f=0 means still count as a (positive) kill, but count no frags for it
 void W_SwitchWeapon_Force(Player this, Weapon w, .entity weaponentity);
-entity GiveFrags_randomweapons;
 void GiveFrags (entity attacker, entity targ, float f, int deathtype, .entity weaponentity);
 
 string AppendItemcodes(string s, entity player);