From d8d037539f1e648e34137e6bb96cff47c7861c8d Mon Sep 17 00:00:00 2001 From: Colin Noga Date: Wed, 5 Jun 2013 12:31:41 -0500 Subject: chestnut slide collision fix --- src/chestnut.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/chestnut.cpp b/src/chestnut.cpp index ff653c0..e4668a6 100644 --- a/src/chestnut.cpp +++ b/src/chestnut.cpp @@ -36,6 +36,7 @@ class daEnChestnut_c : public dEn_c { void spawnObject(); bool collisionCat1_Fireball_E_Explosion(ActivePhysics *apThis, ActivePhysics *apOther); + bool collisionCat5_Mario(ActivePhysics *apThis, ActivePhysics *apOther); bool CreateIceActors(); @@ -313,6 +314,10 @@ bool daEnChestnut_c::collisionCat1_Fireball_E_Explosion(ActivePhysics *apThis, A return true; } +bool daEnChestnut_c::collisionCat5_Mario(ActivePhysics *apThis, ActivePhysics *apOther) { + this->_vf220(apOther->owner); + return true; +} void daEnChestnut_c::spawnObject() { -- cgit v1.2.3