diff options
| author | XaviDCR92 <xavi.dcr@gmail.com> | 2017-11-05 05:38:31 +0100 |
|---|---|---|
| committer | XaviDCR92 <xavi.dcr@gmail.com> | 2017-11-05 05:38:31 +0100 |
| commit | 8fba2176bc34aa7e507f0b9d983427bb5e522e17 (patch) | |
| tree | d5e1c7d5560f30581fc5a1957121fc0a198b62f7 /System.c | |
| parent | 2cf2d608af862e812e7fd3ac580f869141a96fa7 (diff) | |
| download | pocketempires-8fba2176bc34aa7e507f0b9d983427bb5e522e17.tar.gz | |
* Modified shadows for Town centre.
* Bugfixes in unit movement and collision detection. Now it should work fine.
* Added include guards to all *.i files.
* Other minor changes
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 ); } |
