Minor code edits to BugFixes.cpp

This commit is contained in:
NovaRain
2021-06-09 21:12:44 +08:00
parent 74cfcaed77
commit 83a44f27b9
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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)
+1 -1
View File
@@ -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)