From: Mario Date: Sat, 17 Feb 2018 05:54:39 +0000 (+1000) Subject: Fix compilation unit again X-Git-Tag: xonotic-v0.8.5~2304 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=dfd529d81a70be55977469358232e4deeb5662fb;p=xonotic%2Fxonotic-data.pk3dir.git Fix compilation unit again --- diff --git a/qcsrc/server/weapons/hitplot.qc b/qcsrc/server/weapons/hitplot.qc index 81116b419..e6bdd00d2 100644 --- a/qcsrc/server/weapons/hitplot.qc +++ b/qcsrc/server/weapons/hitplot.qc @@ -54,7 +54,7 @@ vector W_HitPlotNormalizedUntransform(vector org, entity targ, vector screenforw return ret; } -void W_HitPlotAnalysis(entity player, Weapon wep, vector screenforward, vector screenright, vector screenup) +void W_HitPlotAnalysis(entity player, entity wep, vector screenforward, vector screenright, vector screenup) { if(CS(player).hitplotfh >= 0) { diff --git a/qcsrc/server/weapons/hitplot.qh b/qcsrc/server/weapons/hitplot.qh index 9596f1dc1..e96867835 100644 --- a/qcsrc/server/weapons/hitplot.qh +++ b/qcsrc/server/weapons/hitplot.qh @@ -2,6 +2,6 @@ .float hitplotfh; -void W_HitPlotAnalysis(entity player, Weapon wep, vector screenforward, vector screenright, vector screenup); +void W_HitPlotAnalysis(entity player, entity wep, vector screenforward, vector screenright, vector screenup); void W_HitPlotOpen(entity player); void W_HitPlotClose(entity player);