Revision 793377

Go back to digest for 6th April 2008

Bug Fixes in Games

Nicolas Roffet committed changes in /trunk/KDE/kdegames/kmines:

There was a bug in KMines: the program was freezing in a custom game if you chose to put in the field so many mines that there was not at least 9 free positions. Now, it's working.

New to avoid trivial games, KMines now constrains the user to let at least 10 (-> one more than 9) positions free.

Note: I'm not sure it's a good idea to avoid to put mines on neighbor positions to the start position... To discuss...

File Changes

Modified 3 files
  • /trunk/KDE/kdegames/kmines
  •   /minefielditem.cpp
  •   /minefielditem.h
  •   /scene.cpp
3 files changed in total