diff options
author | Colin Noga <Tempus@chronometry.ca> | 2012-03-17 16:27:52 -0500 |
---|---|---|
committer | Colin Noga <Tempus@chronometry.ca> | 2012-03-17 16:27:52 -0500 |
commit | e6a945496b2252477f1d5015343ce7e6cdda0cc4 (patch) | |
tree | 67aeb5a84b5423082c264d1c1326c9d443960839 /src/bossWrenchThrow.cpp | |
parent | e88fd1dcef52d4375fef655918886fc14bb1f40c (diff) | |
download | kamek-e6a945496b2252477f1d5015343ce7e6cdda0cc4.tar.gz kamek-e6a945496b2252477f1d5015343ce7e6cdda0cc4.zip |
Added Captina Bowser and his crew of merry sprites, plus some fixes for other junk.
Diffstat (limited to '')
-rw-r--r-- | src/bossWrenchThrow.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/bossWrenchThrow.cpp b/src/bossWrenchThrow.cpp index af5e272..5247c62 100644 --- a/src/bossWrenchThrow.cpp +++ b/src/bossWrenchThrow.cpp @@ -192,6 +192,12 @@ int daWrench::onExecute() { acState.execute(); updateModelMatrices(); + float rect[] = {this->_320, this->_324, this->spriteSomeRectX, this->spriteSomeRectY}; + int ret = this->outOfZone(this->pos, (float*)&rect, this->currentZoneID); + if(ret) { + this->Delete(1); + } + return true; } |