From 5e96e955f3308f68b5efcc311b579cfcb7fb5695 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Sat, 26 Jun 2021 12:18:27 +0200 Subject: [PATCH] - add hitscan only autoaim for SW. # Conflicts: # source/games/sw/src/weapon.cpp --- source/games/sw/src/weapon.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/games/sw/src/weapon.cpp b/source/games/sw/src/weapon.cpp index 2076bb623..c3962b20b 100644 --- a/source/games/sw/src/weapon.cpp +++ b/source/games/sw/src/weapon.cpp @@ -14284,7 +14284,7 @@ WeaponAutoAim(SPRITEp sp, short Missile, short ang, bool test) if (u && u->PlayerP) { - if (Autoaim(u->PlayerP->pnum) != 2) + if (Autoaim(u->PlayerP->pnum) != 1) { return -1; }