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: Spectators can hear when a covert spot a mine
Next bug: Command completion client side wasn't up-to-date

Bugfix 010 - Making sure dead coverts loose their uniform [duplicate of b006]

Problem:

I can't remember how to reproduce this, but sometimes coverts didn't loose their disguise when they died.

Solution:

Strip disguises in the generic player_die function.

References:

Spawning thread

Notes:

Update: Dammit, this one turned out to be a duplicate of b006, so much for checking and rechecking before enumerating the bugs...

2.56 Code

g_combat.c @ 486 self->client->ps.persistant[PERS_KILLED]++;
// CHRUKER: b010 - Make sure covert ops looses their disguises if ( self->client->ps.powerups[PW_OPS_DISGUISED] ) self->client->ps.powerups[PW_OPS_DISGUISED] = 0;
// JPW NERVE -- if player is holding ticking grenade, drop it

Show index
Previous bug: Spectators can hear when a covert spot a mine
Next bug: Command completion client side wasn't up-to-date

Color coding

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

©2017 Chruker