Show weapon location marker above the weapon, rather than pointing under it
authorMario <zacjardine@y7mail.com>
Sun, 30 Nov 2014 04:46:36 +0000 (15:46 +1100)
committerMario <zacjardine@y7mail.com>
Sun, 30 Nov 2014 04:46:36 +0000 (15:46 +1100)
qcsrc/server/weapons/selection.qc

index cf8a151..0816ff4 100644 (file)
@@ -85,7 +85,7 @@ float client_hasweapon(entity cl, float wpn, float andammo, float complain)
                                        WaypointSprite_Spawn(
                                                (get_weaponinfo(wpn)).wpmodel,
                                                1, 0,
-                                               world, e.origin,
+                                               world, e.origin + ('0 0 1' * e.maxs_z) * 1.2,
                                                self, 0,
                                                world, enemy,
                                                0,