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: Breakable damage indicator can wrap when the entity has a lot of health
Next bug: Centerprint messages looses the coloration when printing multiple lines

Bugfix 081 - During team switching you can sometime spawn immediately

Problem:

When switching teams the lastReinforceTime was left at the value from the last spawn. If this value was higher than the calculated lasttime you would spawn immediately.

Solution:

Resetting lastReinforceTime each time with switch teams.

2.56 & 2.60 Code

g_cmds.c @ 860 client->pers.ready = qfalse;
// CHRUKER: b081 - During team switching you can sometime spawn immediately client->pers.lastReinforceTime = 0;
// (l)users will spam spec messages... honest! if(team != oldTeam) {

Show index
Previous bug: Breakable damage indicator can wrap when the entity has a lot of health
Next bug: Centerprint messages looses the coloration when printing multiple lines

Color coding

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

©2017 Chruker