X-Git-Url: http://gitweb.pgornicz.com/gitweb.cgi?p=physics.git;a=blobdiff_plain;f=src%2FGameStates%2FPaused.cpp;h=166ac2f7fbafb094c98997537eb71aaa7e4549ff;hp=ed9710178bd1e718144eb4b14e69f446d17f70c6;hb=033c553524d4a0407f6fabd0bcebf1d460519cf5;hpb=8381f5953e33c5f60f39bf4090e7ee354d5cd047 diff --git a/src/GameStates/Paused.cpp b/src/GameStates/Paused.cpp index ed97101..166ac2f 100644 --- a/src/GameStates/Paused.cpp +++ b/src/GameStates/Paused.cpp @@ -47,14 +47,14 @@ void Paused::draw(bool on_top) const bool Paused::pushMe() const { - if (input::isPressed(SDLK_p)) + if (input::wasPressed(SDLK_p)) return true; return false; } bool Paused::popMe() const { - if (input::isPressed(SDLK_p)) + if (input::wasPressed(SDLK_p)) return true; return false;