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: Engineers at level 3 and higher used 66% of their chargebar for landmines, its now changed to 33%
Next bug: Medic revive, medic adrenaline and engineer pliers can't be used under water

Bugfix 028 - Level 0 fieldops was using the medic charge times when handing out ammo

Problem:

Level 0 fieldops was using the medic charge times when handing out ammo.

Solution:

Change the code to use ltChargeTime instead of medicChargeTime

Notes:

The bug was fixed in version 2.60

2.56 Code

bg_pmove.c @ 3549 return; }
// CHRUKER: b028 - Was using the medicChargeTime
} else if (pm->cmd.serverTime - pm->ps->classWeaponTime < (pm->ltChargeTime*0.25f)) { if( pm->cmd.buttons & BUTTON_ATTACK ) { BG_AnimScriptEvent( pm->ps, pm->character->animModelInfo, ANIM_ET_NOPOWER, qtrue, qfalse );

Show index
Previous bug: Engineers at level 3 and higher used 66% of their chargebar for landmines, its now changed to 33%
Next bug: Medic revive, medic adrenaline and engineer pliers can't be used under water

Color coding

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

©2017 Chruker