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: Binoculars can no longer be applied when mobile mg42 is deployed
Next bug: Error messages in the scripting system were printing the wrong index ranges

Bugfix 054 - Coverts shouldn't loose their uniform for using the binoculars

Problem:

Binoculars wasn't among the weapons which coverts could loose their disguise with when spotted while using it.

Solution:

Add it to the list.

Notes:

The bug is still present in version 2.60

2.56 & 2.60 Code

g_weapon.c @ 3797 (2.56) @ 3913 (2.60) if( ent->client->ps.powerups[PW_OPS_DISGUISED] && ent->s.weapon != WP_SMOKE_BOMB &&
ent->s.weapon != WP_BINOCULARS && // CHRUKER: b054 - Binoculars are also a stealthy tool
ent->s.weapon != WP_SATCHEL && ent->s.weapon != WP_SATCHEL_DET ) {

Show index
Previous bug: Binoculars can no longer be applied when mobile mg42 is deployed
Next bug: Error messages in the scripting system were printing the wrong index ranges

Color coding

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

©2017 Chruker