Fixed a bug when using HOOK_ITEMDAMAGE and calling item_w_damage_ engine function at the same time. It would result in player self-damaging when attacking targets.

Set DataLoadOrderPatch to be enabled by default, for preventing partial of a game crash issue due to unusual game folder setup. #136
This commit is contained in:
NovaRain
2018-04-13 11:06:21 +08:00
parent 1c6729a25f
commit 4194feafdf
3 changed files with 9 additions and 9 deletions
+1 -1
View File
@@ -93,7 +93,7 @@ skip:
}
void LoadOrder::init() {
if (GetConfigInt("Misc", "DataLoadOrderPatch", 0)) {
if (GetConfigInt("Misc", "DataLoadOrderPatch", 1)) {
dlog("Applying data load order patch.", DL_INIT);
MakeCall(0x444259, game_init_databases_hack1);
MakeCall(0x4442F1, game_init_databases_hack2);