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: Garand couldn't reload mid-clip

Bugfix 099 - Calling for a lot of artillery or airstrikes can result voice over spam

Problem:

The problem is that you can call for artillery or airstrikes way faster than you can get a response. So all the responses are piling up.

Solution:

Don't buffer the responses.

2.60 Code

g_weapon.c @ 2557 void G_GlobalClientEvent( int event, int param, int client ) { gentity_t* tent = G_TempEntity( vec3_origin, event ); tent->s.density = param; tent->r.singleClient = client; tent->r.svFlags = SVF_SINGLECLIENT | SVF_BROADCAST;
// CHRUKER: b099 - Calling for a lot of artillery or airstrikes can result voice over spam tent->s.effect1Time = 1; // don't buffer
}

Show index
Previous bug: Garand couldn't reload mid-clip

Color coding

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

©2017 Chruker