mirror of
https://github.com/sfall-team/sfall.git
synced 2026-07-27 16:52:34 -07:00
Increased the max text width of the info card in the char screen.
* the increased the width is according to the max width of one char in font (uppercase A seems to be the widest with 8 px).
This commit is contained in:
@@ -51,7 +51,7 @@ static void __declspec(naked) ConsoleHook() {
|
|||||||
|
|
||||||
void Console::init() {
|
void Console::init() {
|
||||||
auto path = GetConfigString("Misc", "ConsoleOutputPath", "", MAX_PATH);
|
auto path = GetConfigString("Misc", "ConsoleOutputPath", "", MAX_PATH);
|
||||||
if (path.size() > 0) {
|
if (!path.empty()) {
|
||||||
consolefile.open(path);
|
consolefile.open(path);
|
||||||
if (consolefile.is_open()) {
|
if (consolefile.is_open()) {
|
||||||
MakeJump(0x43186C, ConsoleHook);
|
MakeJump(0x43186C, ConsoleHook);
|
||||||
|
|||||||
@@ -856,6 +856,9 @@ void MiscPatches::init() {
|
|||||||
dlogr(" Done", DL_INIT);
|
dlogr(" Done", DL_INIT);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Increase the max text width of the information card in the character screen
|
||||||
|
SafeWriteBatch<BYTE>(144, {0x43ACD5, 0x43DD37}); // 136, 133
|
||||||
|
|
||||||
LoadGameHook::OnBeforeGameStart() += BodypartHitChances; // set on start & load
|
LoadGameHook::OnBeforeGameStart() += BodypartHitChances; // set on start & load
|
||||||
|
|
||||||
CombatProcFix();
|
CombatProcFix();
|
||||||
|
|||||||
Reference in New Issue
Block a user