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: Sorting the maps, campaigns and mods list
Next bug: Custom 5 minute warning is the same as 2 minute warning

Bugfix 091 - Spawnpoints not movable

Problem:

The position used by the spawning routines, did not get its position set by G_SetOrigin().

Solution:

Copy the origin into ent->s.origin

References:

Rain's comment on positions

Notes:

Mappers, don't rely on this bugfix until its present in most mods.

2.60 Code

g_utils.c @ 833 ent->s.pos.trDuration = 0; VectorClear( ent->s.pos.trDelta );
VectorCopy( origin, ent->s.origin ); // CHRUKER: b091 - Spawnpoints not movable
VectorCopy( origin, ent->r.currentOrigin ); if( ent->client ) {

Show index
Previous bug: Sorting the maps, campaigns and mods list
Next bug: Custom 5 minute warning is the same as 2 minute warning

Color coding

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

©2017 Chruker