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: Coverts can steal uniforms while wounded
Next bug: Round timer and respawn timer not shown when cg_drawFireteamOverlay is 0

Bugfix 007 - Missing increase in accuracy (spread reduction) at level 3

Problem:

Getting level 3 light weapons skills didn't bring the increase in accuracy as documented. Instead it came at level 4.

Solution:

Easily fixed by changing the 4 to a 3.

References:

Spawning thread
Additional information

Notes:

The bug is still present in version 2.60

2.56 & 2.60 Code

g_weapons.c @ 3068 (2.56) @ 3147 (2.60) case WP_SILENCER: case WP_SILENCED_COLT:
// CHRUKER: b007 - The reduction should kick in at level 3 not level 4
if( ent->client->sess.skill[SK_LIGHT_WEAPONS] >= 3 ) spread *= .65f; break;

Show index
Previous bug: Coverts can steal uniforms while wounded
Next bug: Round timer and respawn timer not shown when cg_drawFireteamOverlay is 0

Color coding

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

©2017 Chruker