Skip to content

Commit

Permalink
Devkey only Ctrl+F8 explosion at player location
Browse files Browse the repository at this point in the history
  • Loading branch information
fluffyfreak authored and sturnclaw committed Jan 1, 2025
1 parent 099491c commit 91caceb
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/Pi.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -783,6 +783,12 @@ void Pi::HandleKeyDown(SDL_Keysym *key)
case SDLK_F11: // Reload shaders
renderer->ReloadShaders();
break;

case SDLK_F8: // EXPLOSION!
{
SfxManager::AddExplosion(Pi::game->GetPlayer());
break;
}
#endif /* DEVKEYS */

#if WITH_OBJECTVIEWER
Expand Down

0 comments on commit 91caceb

Please sign in to comment.