Diffstat (limited to 'noncore/games/kcheckers/kcheckers.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/games/kcheckers/kcheckers.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/noncore/games/kcheckers/kcheckers.cpp b/noncore/games/kcheckers/kcheckers.cpp index a27dd18..433c68f 100644 --- a/noncore/games/kcheckers/kcheckers.cpp +++ b/noncore/games/kcheckers/kcheckers.cpp | |||
@@ -421,24 +421,25 @@ void KCheckers::aboutQt() | |||
421 | void KCheckers::newGame() | 421 | void KCheckers::newGame() |
422 | { | 422 | { |
423 | if(game) delete game; | 423 | if(game) delete game; |
424 | 424 | ||
425 | switch(rules) | 425 | switch(rules) |
426 | { | 426 | { |
427 | case ENGLISH: | 427 | case ENGLISH: |
428 | game=new ECheckers(skill); | 428 | game=new ECheckers(skill); |
429 | CHECK_PTR(game); | 429 | CHECK_PTR(game); |
430 | break; | 430 | break; |
431 | 431 | ||
432 | case RUSSIAN: | 432 | case RUSSIAN: |
433 | default: | ||
433 | game=new RCheckers(skill); | 434 | game=new RCheckers(skill); |
434 | CHECK_PTR(game); | 435 | CHECK_PTR(game); |
435 | } | 436 | } |
436 | 437 | ||
437 | unselect(); | 438 | unselect(); |
438 | gameOver=false; | 439 | gameOver=false; |
439 | 440 | ||
440 | gameMenu->setItemEnabled(undoID,false); | 441 | gameMenu->setItemEnabled(undoID,false); |
441 | undoButton->setEnabled(false); | 442 | undoButton->setEnabled(false); |
442 | 443 | ||
443 | colorChange(); | 444 | colorChange(); |
444 | 445 | ||