mirror of
https://github.com/sfall-team/sfall.git
synced 2026-07-27 16:52:34 -07:00
Minor code edits to BugFixes.cpp
This commit is contained in:
+1
-1
@@ -3114,6 +3114,7 @@ noObject:
|
||||
|
||||
void BugFixes_OnGameLoad() {
|
||||
dudeIsAnimDeath = false;
|
||||
combat_ai_reset();
|
||||
}
|
||||
|
||||
void BugFixes_Init()
|
||||
@@ -3644,7 +3645,6 @@ void BugFixes_Init()
|
||||
|
||||
// Fix for chem_primary_desire values in party member AI packets not being saved correctly
|
||||
HookCall(0x42803E, cai_cap_save_hook);
|
||||
HookCall(0x442BC1, combat_ai_reset); // replace the engine function that does nothing (game_reset_)
|
||||
|
||||
// Fix for config_get_values_ engine function not getting the last value in a list if the list has less than the requested
|
||||
// number of values (for chem_primary_desire)
|
||||
|
||||
@@ -14,7 +14,7 @@ PTR_(BlueColor, BYTE)
|
||||
PTR_(bottom_line, DWORD)
|
||||
PTR_(btable, DWORD)
|
||||
PTR_(btncnt, DWORD)
|
||||
PTR_(cap, AIcap*)
|
||||
PTR_(cap, AIcap*) // dynamic array
|
||||
PTR_(carCurrentArea, DWORD)
|
||||
PTR_(carGasAmount, long) // from 0 to 80000
|
||||
PTR_(cmap, DWORD)
|
||||
|
||||
Reference in New Issue
Block a user