summaryrefslogtreecommitdiff
path: root/src/bossWrenchThrow.cpp
diff options
context:
space:
mode:
authorColin Noga <Tempus@chronometry.ca>2012-03-17 16:27:52 -0500
committerColin Noga <Tempus@chronometry.ca>2012-03-17 16:27:52 -0500
commite6a945496b2252477f1d5015343ce7e6cdda0cc4 (patch)
tree67aeb5a84b5423082c264d1c1326c9d443960839 /src/bossWrenchThrow.cpp
parente88fd1dcef52d4375fef655918886fc14bb1f40c (diff)
downloadkamek-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.cpp6
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;
}