]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/server/weapons/selection.qc
Show weapon location marker above the weapon, rather than pointing under it
[xonotic/xonotic-data.pk3dir.git] / 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,