![]() |
|
Mapping Mapping sizes Limits Entities Bugs & Work-a-rounds Notes Scripting reference Mapping - Tutorials Brushwork from blueprint Tools Brush generator Vehicle generator MD3 Tag The Dummy Modding Project: Bug Fix Project: Crockett Other stuff Forum Server Info Colors Voice Chats Scripts Links |
Project: Bug FixThe objectiveThe 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: Missing increase in accuracy (spread reduction) at level 3 Next bug: Spectators can hear when a covert spot a mine Bugfix 008 - Round timer and respawn timer not shown when cg_drawFireteamOverlay is 0Problem:Round timer and respawn timer wasn't displayed when cg_drawFireteamOverlay was set to 0.Solution:The cvar was checked at the very beginning, and the rest was skipped if the cvar was 0. Now it only skips the part which is fireteam related.References:Spawning threadNotes:The bug is still present in version 2.602.56 & 2.60 Code
cg_draw.c @ 556
static void CG_DrawUpperRight( void ) {
float y;
if( !cg_drawFireteamOverlay.integer ) {
return;
}
y = 20 + 100 + 32;
// CHRUKER: b008 - Round timer and respawn timer gone when cg_drawFireteamOverlay
if( cg_drawFireteamOverlay.integer ) {
if(CG_IsOnFireteam( cg.clientNum )) {
rectDef_t rect = { 10, 10, 100, 100 };
CG_DrawFireTeamOverlay( &rect );
} else {
// CG_DrawTeamOverlay( 0 );
}
} // b008
if( !( cg.snap->ps.pm_flags & PMF_LIMBO ) && ( cg.snap->ps.persistant[PERS_TEAM] != TEAM_SPECTATOR ) &&
( cgs.autoMapExpanded || ( !cgs.autoMapExpanded && ( cg.time - cgs.autoMapExpandTime < 250.f ) ) ) )
return;
Show index Previous bug: Missing increase in accuracy (spread reduction) at level 3 Next bug: Spectators can hear when a covert spot a mine Color codingSample = New codeSample = Changed code (the new version is what is displayed) Sample = Deleted code |
©2007 Chruker |