mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-13 04:28:37 +00:00
GROOVIE: T11H mouse trap: easier AI give fixed initial board state instead of randomized intial board state
This commit is contained in:
parent
1483a30125
commit
9aec3e18ae
@ -133,6 +133,10 @@ void MouseTrapGame::init() {
|
||||
initX[6] = 4;
|
||||
initX[7] = 4;
|
||||
|
||||
// easier AI gives a fixed board state, because the random configurations can give you some bad ones
|
||||
if(_easierAi)
|
||||
_random.setSeed(711);
|
||||
|
||||
for (int i = 7; i >= 0; i--) {
|
||||
int8 j = _random.getRandomNumber(i);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user