Reverted the change on x offset in previous commit

This commit is contained in:
NovaRain
2019-12-29 08:42:08 +08:00
parent c26cd45b5b
commit 9ef670161d
+5 -3
View File
@@ -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);