diff options
Diffstat (limited to 'System.c')
| -rw-r--r-- | System.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -271,8 +271,8 @@ bool SystemArrayCompare(unsigned short * arr1, unsigned short * arr2, size_t sz) return true; } -bool SystemCollisionCheck(TYPE_COLLISION_BLOCK c1, TYPE_COLLISION_BLOCK c2) +bool SystemCollisionCheck(TYPE_COLLISION_BLOCK* c1, TYPE_COLLISION_BLOCK* c2) { - return (bool)check_bb_collision( c1.x, c1.y, c1.w, c1.h, - c2.x, c2.y, c2.w, c2.h ); + return (bool)check_bb_collision( c1->x, c1->y, c1->w, c1->h, + c2->x, c2->y, c2->w, c2->h ); } |
