]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
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 cf8a1514bbfacb206a83b3ccc0cef924e73fe6ee..0816ff44a5b43ff9b566467ee8565248c9d1ad0c 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,