mirror of
https://github.com/sfall-team/sfall.git
synced 2026-07-27 16:52:34 -07:00
Reverted the change on x offset in previous commit
This commit is contained in:
+5
-3
@@ -698,6 +698,8 @@ void InventoryInit() {
|
||||
SafeWrite8(0x47260F, 0x20);
|
||||
SafeWrite32(0x4725F9, 0x9C + 0x0C);
|
||||
SafeWrite8(0x472606, 0x10 + 0x0C);
|
||||
SafeWrite32(0x472632, 150); // width
|
||||
SafeWrite8(0x472638, 0); // x offset position
|
||||
|
||||
// Display item size when examining
|
||||
HookCall(0x472FFE, inven_obj_examine_func_hook);
|
||||
@@ -713,10 +715,10 @@ void InventoryInit() {
|
||||
SafeWrite8(0x449145, 0x0C + 0x08);
|
||||
SafeWrite8(0x449150, 0x10 + 0x08);
|
||||
}
|
||||
} else {
|
||||
// Adjust the max text width of the total weight display in the inventory
|
||||
SafeWrite32(0x472632, 135);
|
||||
}
|
||||
// Adjust the max text width of the total weight display in the inventory
|
||||
SafeWrite32(0x472632, 150);
|
||||
SafeWrite8(0x472638, 0); // x offset position
|
||||
|
||||
if (GetConfigInt("Misc", "SuperStimExploitFix", 0)) {
|
||||
Translate("sfall", "SuperStimExploitMsg", "You cannot use a super stim on someone who is not injured!", SuperStimMsg);
|
||||
|
||||
Reference in New Issue
Block a user