Preparation for different types of terrain

This commit is contained in:
2021-04-30 09:10:58 +02:00
parent 5562ca4d82
commit 1927b71629
9 changed files with 175 additions and 134 deletions
+1 -1
View File
@@ -5,7 +5,7 @@
void MarioVisitor::visit( const SDLPP::RenderObject &obj ) {
auto id = obj.getId();
switch ( id ) {
case FLOOR_OVERWORLD_ID:
case FLOOR_ID:
if ( from == MARIO_FLOOR_DETECT )
onGround = true;
else if ( from == MARIO_LEFT_SIDE_DETECT )