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: Skull never leaving in menu after teamswitch
Next bug: g_inactivity is missing from the pub cvar table, and causing a pointer crash

Bugfix 058 - When the axis flag times out after being dropped, both the game code and script will display it

Problem:

The code still contained some leftover code from the time when the scripting system wasn't made.

Solution:

Simply remove/disable the printing call.

Notes:

The bug is still present in version 2.60

2.56 & 2.60 Code

g_team.c @ 420 }
// CHRUKER: b058 - This is all handled in the map script.
// trap_SendServerCommand(-1, "cp \"Axis have returned the objective!\" 2"); } else if( ent->item->giTag == PW_BLUEFLAG ) { G_Script_ScriptEvent( &g_entities[ent->s.otherEntityNum], "trigger", "returned" );

Show index
Previous bug: Skull never leaving in menu after teamswitch
Next bug: g_inactivity is missing from the pub cvar table, and causing a pointer crash

Color coding

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

©2017 Chruker