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: Objective carrier icon missing on compact scoreboard
Next bug: Cleanups in bot code 2

Bugfix 072 - Objective carrier icon caused class, xp, ping, lives text to be offset

Problem:

When a player grabs the objective and the icon is displayed on the scoreboard, that players class, xp, ping and lives gets offset to the right.

Solution:

Make sure offset and tempx are changed equally.

Notes:

The bug is still present in version 2.60

2.56 & 2.60 Code

cg_scoreboard.c @ 251 if ( ci->powerups & ( (1 << PW_REDFLAG) | (1 << PW_BLUEFLAG) ) ) { CG_DrawPic( tempx-4, y, 16, 16, cgs.media.objectiveShader ); offset += 12; // CHRUKER: b072 - Need to match tempx or else the other text gets offset tempx += 12; maxchars -= 2;

Show index
Previous bug: Objective carrier icon missing on compact scoreboard
Next bug: Cleanups in bot code 2

Color coding

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

©2017 Chruker