mirror of
https://github.com/sfall-team/sfall.git
synced 2026-07-27 16:52:34 -07:00
Reverted the change in Tiles.cpp from previous commit.
This commit is contained in:
+1
-1
@@ -631,7 +631,7 @@ DontTurnOffSneakIfYouRun=0
|
||||
;Set to 0 to disable switching. (Default is 3)
|
||||
UseWalkDistance=3
|
||||
|
||||
;Set to 1 to fix the bug that unable to sell used geiger counters or stealth boys
|
||||
;Set to 1 to fix the bug of being unable to sell used geiger counters or stealth boys
|
||||
CanSellUsedGeiger=1
|
||||
|
||||
;Set to 1 to fix the issue with being able to charge the car by using cells on other scenary/critters
|
||||
|
||||
+3
-3
@@ -2283,9 +2283,9 @@ void BugFixesInit()
|
||||
MakeCall(0x4130E5, action_explode_hack1);
|
||||
dlogr(" Done", DL_INIT);
|
||||
|
||||
// Fix for unable to sell used geiger counters or stealth boys
|
||||
// Fix for being unable to sell used geiger counters or stealth boys
|
||||
if (GetPrivateProfileIntA("Misc", "CanSellUsedGeiger", 1, ini)) {
|
||||
dlog("Applying fix for unable to sell used geiger counters or stealth boys.", DL_INIT);
|
||||
dlog("Applying fix for being unable to sell used geiger counters or stealth boys.", DL_INIT);
|
||||
SafeWrite8(0x478115, 0xBA);
|
||||
SafeWrite8(0x478138, 0xBA);
|
||||
MakeJump(0x474D22, barter_attempt_transaction_hack);
|
||||
@@ -2444,7 +2444,7 @@ void BugFixesInit()
|
||||
SafeWrite8(0x4C1015, 0x90);
|
||||
HookCall(0x4C1042, wmSetupRandomEncounter_hook);
|
||||
|
||||
// Fix for unable to sell/give items in the barter screen when the player/party member is overloaded
|
||||
// Fix for being unable to sell/give items in the barter screen when the player/party member is overloaded
|
||||
HookCall(0x474C73, barter_attempt_transaction_hook_weight);
|
||||
HookCall(0x474CCA, barter_attempt_transaction_hook_weight);
|
||||
|
||||
|
||||
+1
-1
@@ -205,7 +205,7 @@ static int ProcessTile(sArt* tiles, int tile, int listpos) {
|
||||
frame.height = ByteSwapW(36);
|
||||
frame.width = ByteSwapW(80);
|
||||
frame.frameSize = ByteSwapD(80 * 36);
|
||||
frame.frameAreaSize = frame.frameSize + 12;
|
||||
frame.frameAreaSize = ByteSwapD(80 * 36 + 12);
|
||||
int xoffset = x * 48 + (ysize - (y + 1)) * 32;
|
||||
int yoffset = height - (36 + x * 12 + y * 24);
|
||||
for (int y2 = 0; y2 < 36; y2++) {
|
||||
|
||||
Reference in New Issue
Block a user