
Labyrinth of the Minotaur A simple roguelike/RPG using a nokia 5110 screen
Dependencies: N5110 PowerControl mbed
Diff: WorldBuilder/WorldBuilder.cpp
- Revision:
- 29:89bc8c8aa8ac
- Parent:
- 24:4c4467971c91
- Child:
- 30:4a03611a3d99
--- a/WorldBuilder/WorldBuilder.cpp Fri May 08 22:24:44 2015 +0000 +++ b/WorldBuilder/WorldBuilder.cpp Fri May 08 22:45:25 2015 +0000 @@ -94,7 +94,7 @@ } } - if (rand() % 3 == 0) { + if (rand() % 2 == 0) { int i = rand() % sw + sx; int j = rand() % sh + sy; map[i][j] = CHEST;