summaryrefslogtreecommitdiff
path: root/src/spritetex.S
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/spritetex.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/spritetex.S b/src/spritetex.S
index 0f89cd5..bd13428 100644
--- a/src/spritetex.S
+++ b/src/spritetex.S
@@ -171,7 +171,7 @@ TEX_SpringBlock:
.global TEX_Coaster
TEX_Coaster:
- lwz r5, 4(r31)
+ lwz r5, 4(r3)
srwi r5, r5, 24
andi. r5, r5, 0xF
b GetTexFilenameForR5