]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commit
Work around a bug where if you spectate a player and they had a shot newer than your...
authorSamual <samual@xonotic.org>
Sat, 20 Aug 2011 08:00:29 +0000 (04:00 -0400)
committerSamual <samual@xonotic.org>
Sat, 20 Aug 2011 08:00:29 +0000 (04:00 -0400)
commit6a6702fb5476527732c52c035940f125676c63d6
treef2d12f9cc82dfe169c9229441b89261fa668d85f
parent2831fae1af2cf3e9b5214cc29135612eed2d954f
Work around a bug where if you spectate a player and they had a shot newer than your last hit_time then the code would still think it was your own shot when you switched to them (and thusly would play the hit sound/animation) -- Basically just check how old the hit_time is.
qcsrc/client/View.qc