mirror of
https://github.com/yquake2/yquake2remaster.git
synced 2025-02-03 22:41:16 +00:00
5e33152f6a
In rogue's RHANGAR1 the turret didn't blow up the ceiling when friendly fire was off, because in ClientTeam() both entities were set to "" (no team), but OnSameTeam() just did a strcmp() instead of checking this special case (no team). We check this now and thus it works. Hooray. I also refactored ClientTeam() to take the buffer instead of using a static one and to be static (it's only called by OnSameTeam() anyway). The savegame table entry for this function was invalid, but it doesn't need to be saved anyway, so I just deleted it from the table. |
||
---|---|---|
.. | ||
header | ||
monster | ||
player | ||
savegame | ||
g_ai.c | ||
g_chase.c | ||
g_cmds.c | ||
g_combat.c | ||
g_func.c | ||
g_items.c | ||
g_main.c | ||
g_misc.c | ||
g_monster.c | ||
g_phys.c | ||
g_spawn.c | ||
g_svcmds.c | ||
g_target.c | ||
g_trigger.c | ||
g_turret.c | ||
g_utils.c | ||
g_weapon.c |