Skip to content

Commit

Permalink
Donesocelmillor
Browse files Browse the repository at this point in the history
  • Loading branch information
FBarnes99 committed Apr 22, 2018
1 parent faee85c commit 4c458fe
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ModuleSceneMainMenu.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ update_status ModuleSceneMainMenu::Update()
// Draw everything --------------------------------------
App->render->Blit(graphics, 0, 0, &background, 1.0f); // back of the room

// TODO 2: make so pressing SPACE the KEN stage is loaded

if (App->input->keyboard[SDL_SCANCODE_RETURN] == 1)
{
App->fade->FadeToBlack(App->scene_MainMenu, App->scene_choosePlayer, 0.5);
Expand Down
2 changes: 1 addition & 1 deletion ModuleSceneStage1.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,7 @@ update_status ModuleSceneStage1::Update()
{

if (App->input->keyboard[SDL_SCANCODE_SPACE] == KEY_STATE::KEY_DOWN)
App->fade->FadeToBlack((Module*)this, (Module*)App->scene_MainMenu);//CHECK FADE
App->fade->FadeToBlack((Module*)App->scene_stage1, (Module*)App->scene_MainMenu);//CHECK FADE

hud = nullptr;
App->player->score = 0;
Expand Down

0 comments on commit 4c458fe

Please sign in to comment.