xatrix/src
Yamagi Burmeister f83ea253c8 Fix berserker fidget animation aborting attack.
M_MoveFrame() calls first the AI functions that decide if a monster
should attack or not. After that the monsters think function is called
which walks through berserk_frames_stand[]. Even if the AI function found
an enemy and decided to attack, the monster is still standing for this
frame and berserker_fidget() is called. It may override the earlier
earlier decision, aborting the attack. Even worse this may let the
berserker stuck, because AI_STAND_GROUND may be cleared which prevents
further attacks.

This bug was present in the original code, so this is small gameplay
change. It's likely also present in both addons.

Reported and analyzed by @BjossiAlfreds in issue #433. He also suggested
the fix.
2019-08-31 11:15:41 +02:00
..
header Save gclient_t::resp.coop_respawn.*weapon to fix coop savegames. 2019-02-04 12:05:13 +01:00
monster Fix berserker fidget animation aborting attack. 2019-08-31 11:15:41 +02:00
player Rename teleport_time to last_sound time 2016-12-18 09:16:28 +01:00
savegame Fix stupid missmerge, ReadField() may only be called once for a field. 2019-02-05 08:56:06 +01:00
shared Import Q_strlcpy() and replace several dangerous strncpy() with it. 2018-10-25 19:15:41 +02:00
g_ai.c Fix a potential crash in ai_run_melee() and ai_run_missile(). 2017-09-07 18:09:25 +02:00
g_chase.c Merge branch 'master' into cleanup 2013-01-05 12:34:59 +01:00
g_cmds.c Don't allow 'give health 0' or even less. 2019-04-27 19:21:05 +02:00
g_combat.c Add a missing sanity check. attacker->classname may be NULL. 2017-03-13 14:28:06 +01:00
g_func.c Remove superfluous whitespaces and end of lines 2013-02-12 18:49:17 +01:00
g_items.c Remove superfluous whitespaces and end of lines 2013-02-12 18:49:17 +01:00
g_main.c Split the gibs per frame limit between gibs and debris. 2018-10-07 12:13:48 +02:00
g_misc.c Add variable declaration missed in last commit. 2018-10-13 09:06:11 +02:00
g_monster.c Don't accelerate upper entities, let them be pushed by the lower ent. 2018-10-07 12:05:24 +02:00
g_phys.c Push entities slightly away from non horizontal surfaces. 2019-06-15 17:46:57 +02:00
g_spawn.c Import Q_strlcpy() and replace several dangerous strncpy() with it. 2018-10-25 19:15:41 +02:00
g_svcmds.c Clean g_svcmds.c up and add sanity checks 2013-01-05 13:30:05 +01:00
g_target.c Import Q_strlcpy() and replace several dangerous strncpy() with it. 2018-10-25 19:15:41 +02:00
g_trigger.c Change from atoi() to strtol() to match baseq2. 2016-12-17 11:08:00 +01:00
g_turret.c Remove superfluous whitespaces and end of lines 2013-02-12 18:49:17 +01:00
g_utils.c Fix a progress stopper in xware.bsp 2013-06-15 16:18:31 +02:00
g_weapon.c Revert heat_think() part of aed38232d3. 2019-08-07 07:44:37 +02:00