mirror of
https://github.com/blupi-games/planetblupi
synced 2024-12-30 10:15:36 +01:00
Disable the pause keyboard event with difficult skill level
- It closes issue #22.
This commit is contained in:
parent
07f13f6059
commit
4c234737ff
@ -5303,6 +5303,9 @@ CEvent::TreatEventBase (const SDL_Event & event)
|
||||
m_pDecor->FlipOutline ();
|
||||
return true;
|
||||
case SDLK_PAUSE:
|
||||
if (this->m_pDecor->GetSkill () >= 1)
|
||||
return true;
|
||||
|
||||
m_bPause = !m_bPause;
|
||||
if (m_phase == EV_PHASE_PLAY)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user