Skip to content

Commit

Permalink
Fix Give Credits trigger action to work in singleplayer
Browse files Browse the repository at this point in the history
  • Loading branch information
Rampastring committed Jun 24, 2024
1 parent 85714ec commit 318a4c1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/trigger_actions_extended.asm
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,8 @@ hack 0x0061913B ; Extend trigger action jump table
cmp eax, 0
jnz .Give_Credits
.Get_House_Pointer:
.Get_House_Pointer:
mov ecx, eax ; the function called below expects the housetype index to be in ecx instead of eax
call 0x004C4730 ; House_Pointer_From_HouseType_Index
.Give_Credits:
Expand Down

0 comments on commit 318a4c1

Please sign in to comment.