diff --git a/artifacts/ddraw.ini b/artifacts/ddraw.ini index 353008a6..f25351bf 100644 --- a/artifacts/ddraw.ini +++ b/artifacts/ddraw.ini @@ -1,5 +1,5 @@ ;sfall configuration settings -;v3.8.34 +;v3.8.34.1 [Main] ;Set to 1 if you want to use command line arguments to tell sfall to use another ini file @@ -740,10 +740,6 @@ CreateObjectSidFix=0 ;Note that enabling this option will cause problems for existing grave scripts GraveContainersFix=0 -;Set to 1 to fix the issue with the division operator treating negative integers as unsigned -;Note: To perform the unsigned integer division, use the new 'div' operator -DivisionOperatorFix=1 - ;Set to 1 to fix the priority score calculation for choosing the best weapon for NPCs ;Note that enabling this option can affect the weapon of choice for some NPCs AIBestWeaponFix=1 diff --git a/sfall/Modules/BugFixes.cpp b/sfall/Modules/BugFixes.cpp index 0824892b..bd93d203 100644 --- a/sfall/Modules/BugFixes.cpp +++ b/sfall/Modules/BugFixes.cpp @@ -3184,11 +3184,11 @@ void BugFixes::init() SafeWrite16(0x46A4E7, 0x04DB); // Fix for vanilla division operator treating negative integers as unsigned - if (IniReader::GetConfigInt("Misc", "DivisionOperatorFix", 1)) { + //if (IniReader::GetConfigInt("Misc", "DivisionOperatorFix", 1)) { dlog("Applying division operator fix.", DL_FIX); SafeWrite32(0x46A51D, 0xFBF79990); // xor edx, edx; div ebx > cdq; idiv ebx dlogr(" Done", DL_FIX); - } + //} //if (IniReader::GetConfigInt("Misc", "SpecialUnarmedAttacksFix", 1)) { dlog("Applying Special Unarmed Attacks fix.", DL_FIX);