mirror of
https://github.com/sfall-team/sfall.git
synced 2026-07-27 16:52:34 -07:00
Re-added CarChargingFix option back in ddraw.ini for other mods with custom vehicles.
This commit is contained in:
@@ -552,6 +552,9 @@ EnableMusicInDialogue=0
|
||||
;Set to 1 to fix the bug that unable to sell used geiger counters or stealth boys
|
||||
CanSellUsedGeiger=1
|
||||
|
||||
;Set to 1 to fix the issue with being able to charge the car by using cells on other scenary/critters
|
||||
CarChargingFix=1
|
||||
|
||||
;Set to 1 to skip weapon equip/unequip animations when searching containers or doing other actions
|
||||
InstantWeaponEquip=0
|
||||
|
||||
|
||||
+7
-6
@@ -729,14 +729,15 @@ void BugsInit()
|
||||
dlogr(" Done.", DL_INIT);
|
||||
//}
|
||||
|
||||
// Fixes for being able to charge the car with using cells on scenary/critters
|
||||
// and cells getting consumed even when the car is already fully charged
|
||||
//if (GetPrivateProfileIntA("Misc", "CarChargingFix", 1, ini)) {
|
||||
dlog("Applying car charging issues fix.", DL_INIT);
|
||||
MakeCall(0x49C36D, &protinst_default_use_item_hack, true);
|
||||
// Fix for cells getting consumed even when the car is already fully charged
|
||||
MakeCall(0x49BE70, &obj_use_power_on_car_hack, false);
|
||||
|
||||
// Fix for being able to charge the car by using cells on other scenary/critters
|
||||
if (GetPrivateProfileIntA("Misc", "CarChargingFix", 1, ini)) {
|
||||
dlog("Applying car charging fix.", DL_INIT);
|
||||
MakeCall(0x49C36D, &protinst_default_use_item_hack, true);
|
||||
dlogr(" Done.", DL_INIT);
|
||||
//}
|
||||
}
|
||||
|
||||
// makes jet addiction eternal.. why?
|
||||
//MakeCall(0x47A3A4, &item_wd_process_hook, false);
|
||||
|
||||
Reference in New Issue
Block a user