diff --git a/sfall/Modules/Console.cpp b/sfall/Modules/Console.cpp index 1648ad8f..980a8eac 100644 --- a/sfall/Modules/Console.cpp +++ b/sfall/Modules/Console.cpp @@ -51,7 +51,7 @@ static void __declspec(naked) ConsoleHook() { void Console::init() { auto path = GetConfigString("Misc", "ConsoleOutputPath", "", MAX_PATH); - if (path.size() > 0) { + if (!path.empty()) { consolefile.open(path); if (consolefile.is_open()) { MakeJump(0x43186C, ConsoleHook); diff --git a/sfall/Modules/MiscPatches.cpp b/sfall/Modules/MiscPatches.cpp index 4e6d0042..93427e18 100644 --- a/sfall/Modules/MiscPatches.cpp +++ b/sfall/Modules/MiscPatches.cpp @@ -856,6 +856,9 @@ void MiscPatches::init() { dlogr(" Done", DL_INIT); } + // Increase the max text width of the information card in the character screen + SafeWriteBatch(144, {0x43ACD5, 0x43DD37}); // 136, 133 + LoadGameHook::OnBeforeGameStart() += BodypartHitChances; // set on start & load CombatProcFix();