diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/game.cpp | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/game.cpp b/src/game.cpp index 3009112f3..594583fdc 100644 --- a/src/game.cpp +++ b/src/game.cpp @@ -1967,8 +1967,12 @@ void the_game( { dig_index = CRACK_ANIMATION_LENGTH; } - - if(dig_index < CRACK_ANIMATION_LENGTH) + + // Don't show cracks if not diggable + if(dig_time_complete >= 100000.0) + { + } + else if(dig_index < CRACK_ANIMATION_LENGTH) { //TimeTaker timer("client.setTempMod"); //infostream<<"dig_index="<<dig_index<<std::endl; |