From 0f0bb1c713759ab44b9c345217f59f093ad3368c Mon Sep 17 00:00:00 2001 From: Dennis Duda Date: Sun, 2 Sep 2018 14:42:02 +0200 Subject: [PATCH] `PlaceMonster` is now binary exact --- Source/monster.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Source/monster.cpp b/Source/monster.cpp index b131712d6..46ff33a44 100644 --- a/Source/monster.cpp +++ b/Source/monster.cpp @@ -861,7 +861,9 @@ BOOL __fastcall MonstPlace(int xp, int yp) void __fastcall PlaceMonster(int i, int mtype, int x, int y) { dMonster[x][y] = i + 1; - InitMonster(i, random(90, 8), mtype, x, y); + + int rd = random(90, 8); + InitMonster(i, rd, mtype, x, y); } void __fastcall PlaceUniqueMonst(int uniqindex, int miniontype, int unpackfilesize)