Fixed up collision boxes allowing custom colliders
This commit is contained in:
@ -98,10 +98,11 @@ public:
|
||||
}
|
||||
break;
|
||||
case SDLK_k:
|
||||
if (Game::debugCollisionBoxes)
|
||||
{ Game::debugCollisionBoxes = false; }
|
||||
SDL_Delay(100);
|
||||
if (!Game::debugCollisionBoxes)
|
||||
{ Game::debugCollisionBoxes = true; }
|
||||
else
|
||||
{Game::debugCollisionBoxes = true; }
|
||||
{Game::debugCollisionBoxes = false; }
|
||||
break;
|
||||
case SDLK_j:
|
||||
transform->velocity.y = 0;
|
||||
|
Reference in New Issue
Block a user