projects
/
xonotic
/
xonotic-data.pk3dir.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e59814e
)
Show weapon location marker above the weapon, rather than pointing under it
author
Mario <zacjardine@y7mail.com>
Sun, 30 Nov 2014 04:46:36 +0000
(15:46 +1100)
committer
Mario <zacjardine@y7mail.com>
Sun, 30 Nov 2014 04:46:36 +0000
(15:46 +1100)
qcsrc/server/weapons/selection.qc
patch
|
blob
|
history
diff --git
a/qcsrc/server/weapons/selection.qc
b/qcsrc/server/weapons/selection.qc
index cf8a1514bbfacb206a83b3ccc0cef924e73fe6ee..0816ff44a5b43ff9b566467ee8565248c9d1ad0c 100644
(file)
--- a/
qcsrc/server/weapons/selection.qc
+++ b/
qcsrc/server/weapons/selection.qc
@@
-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,