mirror of
https://github.com/SAT-R/sa2.git
synced 2026-10-28 09:43:38 +00:00
Fix platform collision
This commit is contained in:
1 parent
d4a3a09914
commit
27ccee5a9c
1 file changed
+1
-1
@@ -970,7 +970,7 @@ NONMATCH("asm/non_matching/game/sa1_sa2_shared/collision__sa2__800C060.inc",
|
||||
y += rectPlayer[3];
|
||||
}
|
||||
y = Q(y);
|
||||
#ifdef NON_MATCHING
|
||||
#ifndef NON_MATCHING
|
||||
asm("" : "=r"(p->qWorldY) : "r"(~0xFF), "r"(p->qWorldY), "r"(y));
|
||||
#else
|
||||
p->qWorldY = Q_24_8_FRAC(p->qWorldY) + (y);
|
||||
|
||||
Reference in new issue
Block a user