Skip to content

Commit 5df51b5

Browse files
committed
sa1: match Coll_Player_PlatformCrumbling
1 parent dabf12b commit 5df51b5

4 files changed

Lines changed: 259 additions & 324 deletions

File tree

include/rect.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,11 +32,11 @@ typedef struct {
3232
#define Q_RECT_WIDTH(hb) QS(RECT_WIDTH(hb))
3333
#define Q_RECT_HEIGHT(hb) QS(RECT_HEIGHT(hb))
3434
#define Q_RECT_LEFT(x, hb) ((x) + Q((hb)->left))
35-
#define Q_RECT_LEFT2(x, hb) QS((hb)->left + (x))
35+
#define Q_RECT_LEFT2(x, hb) (QS(x) + QS((hb)->left))
3636
#define Q_RECT_RIGHT(x, hb) (Q_RECT_LEFT(x, hb) + Q_RECT_WIDTH(hb))
3737
#define Q_RECT_RIGHT2(x, hb) (Q_RECT_LEFT2(x, hb) + Q_RECT_WIDTH(hb))
3838
#define Q_RECT_TOP(y, hb) (((y) + Q((hb)->top)))
39-
#define Q_RECT_TOP2(y, hb) QS(((hb)->top) + (y))
39+
#define Q_RECT_TOP2(y, hb) (QS(y) + QS((hb)->top))
4040
#define Q_RECT_BOTTOM(y, hb) (Q_RECT_TOP(y, hb) + Q_RECT_HEIGHT(hb))
4141
#define Q_RECT_BOTTOM2(y, hb) (Q_RECT_TOP2(y, hb) + Q_RECT_HEIGHT(hb))
4242

sa1/asm/non_matching/game/shared/stage/collision__sa2__800C060.inc

Lines changed: 0 additions & 306 deletions
This file was deleted.

0 commit comments

Comments
 (0)