]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Disable raptor bomb marker while spectating (can't accurately position it yet)
authorMario <mario@smbclan.net>
Tue, 5 Jul 2016 09:39:00 +0000 (19:39 +1000)
committerMario <mario@smbclan.net>
Tue, 5 Jul 2016 09:39:00 +0000 (19:39 +1000)
qcsrc/common/vehicles/vehicle/raptor.qc

index eedadfcebb51a7b7f70849d733be80d38f75f216..eb64943c8e737b677d5f1511699522d0491666cb 100644 (file)
@@ -786,7 +786,7 @@ METHOD(Raptor, vr_crosshair, void(Raptor thisveh, entity player))
     }
 
     vector tmpSize = '0 0 0';
-    if(weapon2mode != RSM_FLARE)
+    if(weapon2mode != RSM_FLARE && !spectatee_status)
     {
         vector where;