prohibit digging while waiting for your turn to start
This commit is contained in:
1 parent
4a7d290112
commit
836d7dc2d6
1 file changed
+1
-1
@@ -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;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user