ctf/src
Dremor8484 c99c53d4b6
Update weapon.c
the aimfix was working only on half of the attack, since the supershotgun shoots 2 times (half bullets left, half bullets right)

to carefully test it i tried to comment out 1 of the 2 shots while also keep yaw change to 0
in 1 case the bullets hit around the crossair, in the other case the bullets were not centered around the crossair.

i added the same fix to the shot that did not have it, and it worked.

i tested it out with yaw-5 and yaw+5 with both shots shooting at the same time and the bullets appeared to gather into 2 distinct clusters one left side of crossair, one right side of crossair like 2 eyes on the wall
2022-12-03 15:50:57 +01:00
..
header Implement accurate-aiming CVAR in ctf game code. 2020-04-21 07:44:11 +10:00
menu Reformat menu.c 2011-10-15 09:05:55 +00:00
monster Use the correct flavors of abs() 2014-08-03 11:16:08 +02:00
player Update weapon.c 2022-12-03 15:50:57 +01:00
shared Import Q_strlcpy() and replace several dangerous strncpy() with it. 2018-10-25 19:37:41 +02:00
g_ai.c Fix a potential crash in ai_run_melee() and ai_run_missile(). 2017-09-07 18:12:41 +02:00
g_chase.c Fix compiler warnings (no operational changes) 2012-07-01 09:44:33 +02:00
g_cmds.c Don't allow 'give health 0' or even less. 2019-04-27 19:20:18 +02:00
g_combat.c Reformat g_combat.c 2011-10-13 06:37:06 +00:00
g_ctf.c Implement accurate-aiming CVAR in ctf game code. 2020-04-21 07:44:11 +10:00
g_func.c Fix compiler warnings (no operational changes) 2012-07-01 09:44:33 +02:00
g_items.c reformat g_items.c 2011-10-14 11:54:10 +00:00
g_main.c Implement accurate-aiming CVAR in ctf game code. 2020-04-21 07:44:11 +10:00
g_misc.c Fix wrong team being announced when the blue flag is returned after it gets destroyed. 2022-03-25 03:13:53 +01:00
g_monster.c Reformat g_monster.c 2011-10-14 12:16:01 +00:00
g_phys.c Limit the fix against black debris to gibs, debris, monsters. 2020-02-22 15:27:22 +01:00
g_save.c Implement accurate-aiming CVAR in ctf game code. 2020-04-21 07:44:11 +10:00
g_spawn.c Import Q_strlcpy() and replace several dangerous strncpy() with it. 2018-10-25 19:37:41 +02:00
g_svcmds.c Reformat g_svcmds.c 2011-10-15 07:52:57 +00:00
g_target.c Import Q_strlcpy() and replace several dangerous strncpy() with it. 2018-10-25 19:37:41 +02:00
g_trigger.c Reformat g_trigger.c 2011-10-15 08:15:25 +00:00
g_utils.c Cleanup g_utils.c 2011-10-15 08:22:51 +00:00
g_weapon.c Reformat g_weapon.c 2011-10-15 08:31:34 +00:00