mirror of
https://github.com/vcmi/vcmi.git
synced 2024-12-26 22:57:00 +02:00
prohibit digging while waiting for your turn to start
This commit is contained in:
parent
4a7d290112
commit
836d7dc2d6
@ -1234,7 +1234,7 @@ void CAdvMapInt::keyPressed(const SDL_KeyboardEvent & key)
|
||||
return;
|
||||
case SDLK_d:
|
||||
{
|
||||
if(h && isActive() && key.state == SDL_PRESSED)
|
||||
if(h && isActive() && LOCPLINT->makingTurn && key.state == SDL_PRESSED)
|
||||
LOCPLINT->tryDiggging(h);
|
||||
return;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user