Mario: end of level logic
This commit is contained in:
+1
-1
@@ -47,7 +47,7 @@ void MarioBlock::visit(SDLPP::Visitor &visitor) {
|
||||
// TODO if big mario and _can_be_destroyed
|
||||
if (_destructible && !hasCoin()) {
|
||||
destroy();
|
||||
} else {
|
||||
} else if (_bouncable) {
|
||||
BounceVisitor bv;
|
||||
bv.setVisitorType(VisitorType::Terrain);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user