From 4156328d035e8c1c2dec772b394f7e0f42271c8f Mon Sep 17 00:00:00 2001 From: staphen Date: Tue, 17 Dec 2024 08:52:52 -0500 Subject: [PATCH] Fix error introduced by bad merge in #7489 --- Source/monster.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/monster.cpp b/Source/monster.cpp index cb978bca6..e091dac79 100644 --- a/Source/monster.cpp +++ b/Source/monster.cpp @@ -361,7 +361,7 @@ Point GetUniqueMonstPosition(UniqueMonsterType uniqindex) Point position; int count = 0; do { - Point position = Point { GenerateRnd(80), GenerateRnd(80) } + Displacement { 16, 16 }; + position = Point { GenerateRnd(80), GenerateRnd(80) } + Displacement { 16, 16 }; int count2 = 0; for (int x = position.x - 3; x < position.x + 3; x++) { for (int y = position.y - 3; y < position.y + 3; y++) {