From 7b47ddf59ba362329fe6745f99e0e30a419c0184 Mon Sep 17 00:00:00 2001 From: ikonomov <5624187+ikonomov@users.noreply.github.com> Date: Tue, 17 Dec 2024 06:59:51 -0600 Subject: [PATCH] Update monster.cpp --- Source/monster.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/monster.cpp b/Source/monster.cpp index 593a2d023dc..e4fa0835518 100644 --- a/Source/monster.cpp +++ b/Source/monster.cpp @@ -358,7 +358,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++) {