diff options
author | Stephen Simpson <megazig@gmail.com> | 2011-10-22 17:37:45 -0500 |
---|---|---|
committer | Stephen Simpson <megazig@gmail.com> | 2011-10-22 17:37:45 -0500 |
commit | 0405d27af505da506ffa9daaeaf6d32d9be56958 (patch) | |
tree | c5d2390b2bbbfbd29bafa110beccc3c5c268dfe6 /src/bossThwompaDomp.cpp | |
parent | 6c1a8f456a41e03f94811937f1fc62013b91cb54 (diff) | |
download | kamek-0405d27af505da506ffa9daaeaf6d32d9be56958.tar.gz kamek-0405d27af505da506ffa9daaeaf6d32d9be56958.zip |
fixups for launching goombas and changed function naming
Diffstat (limited to '')
-rw-r--r-- | src/bossThwompaDomp.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/bossThwompaDomp.cpp b/src/bossThwompaDomp.cpp index 70a3d17..db3893f 100644 --- a/src/bossThwompaDomp.cpp +++ b/src/bossThwompaDomp.cpp @@ -4,7 +4,7 @@ extern "C" bool CollidedWithTile(u8 *); -extern "C" void *SomeStrangeModification(dEn_c *); +extern "C" int handleTileCollision(dEn_c *); void ThwompaDompMoveC(dEn_c *Sprite) { @@ -15,7 +15,7 @@ void ThwompaDompMoveC(dEn_c *Sprite) { // Check for collisions with walls? FirstCheck = CollidedWithTile(Sprite->classAt1EC); - SomeStrangeModification(Sprite); + handleTileCollision(Sprite); SecondCheck = CollidedWithTile(Sprite->classAt1EC); OSReport("XPos = %f, FirstCheck = %d, SecondCheck = %d", Sprite->pos.x, FirstCheck, SecondCheck); @@ -42,4 +42,4 @@ void ThwompaDompMoveC(dEn_c *Sprite) { return; -}
\ No newline at end of file +} |