Enemy Territory

Project: Bug Fix

The objective

The goal of this project is to provide modders in the ET community with a SDK code base that contains fixes for various bugs which are present in the stock etmain game (version 2.60).

26th september 2006: Sadly bugfix 088 had a bug :-( There were 3 lines that should have been deleted for the fix to work correctly.

Show index
Previous bug: XP and Medals are indented incorrectly on the playerstat dropdown
Next bug: Free look broken

Bugfix 024 - No warmupdamage makes every func_explosive undamagable

Problem:

When warmup damage is off, func_explosives got undamagable.

Solution:

Make sure the target is a player before skipping the damage.

Notes:

The bug is still present in version 2.60

2.56 & 2.60 Code

g_combat.c @ 1042 (2.56) @ 1044 (2.60) // the intermission has allready been qualified for, so don't // allow any extra scoring
// CHRUKER: b024 - Don't do damage if at warmup and warmupdamage is set to 'None' and the target is a client.
if ( level.intermissionQueued || (g_gamestate.integer != GS_PLAYING && match_warmupDamage.integer == 0 && targ->client)) { return; }

Show index
Previous bug: XP and Medals are indented incorrectly on the playerstat dropdown
Next bug: Free look broken

Color coding

Sample = New code
Sample = Changed code (the new version is what is displayed)
Sample = Deleted code

©2017 Chruker