![]() |
|
|
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: Couldn't disarm enemy landmines when we have used all our own landmines Next bug: Coverts shouldn't loose their uniform for using the binoculars Bugfix 053 - Binoculars can no longer be applied when mobile mg42 is deployedProblem:Was missing the check for a deployed mobile MG42. Since it fixes the fov the binoculars were useless.Solution:Only allow zooming if the weapon isn't the deployed MG42.Notes:The bug was fixed in version 2.602.56 Code
bg_pmove.c @ 5154
if(!BG_IsScopedWeapon(pm->ps->weapon)) { // don't allow binocs if using the sniper scope
if (!BG_PlayerMounted(pm->ps->eFlags)) { // or if mounted on a weapon
if (pm->ps->weapon != WP_MOBILE_MG42_SET) { // CHRUKER: b053 - Or has a mobile MG42 deployed
pm->ps->eFlags |= EF_ZOOMING;
}
}
}
Show index Previous bug: Couldn't disarm enemy landmines when we have used all our own landmines Next bug: Coverts shouldn't loose their uniform for using the binoculars Color codingSample = New codeSample = Changed code (the new version is what is displayed) Sample = Deleted code |
| ©2013 Chruker | |