From 54c2169ec9a99e34e1270e43e9fd1fccd3d2a824 Mon Sep 17 00:00:00 2001 From: fusion32 Date: Sat, 9 May 2026 12:24:34 -0300 Subject: fix issues with TMonster constructor + Search functions + UH formula The issue with the TMonster constructor was obvious, but the others were slightly different from the original. --- src/crnonpl.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/crnonpl.cc') diff --git a/src/crnonpl.cc b/src/crnonpl.cc index 73a68af..477b18b 100644 --- a/src/crnonpl.cc +++ b/src/crnonpl.cc @@ -1984,8 +1984,8 @@ TMonster::TMonster(int Race, int x, int y, int z, int Home, uint32 MasterID) : this->starty = y; this->startz = z; this->posx = x; - this->posx = y; - this->posx = z; + this->posy = y; + this->posz = z; this->State = IDLE; this->Home = Home; this->Master = MasterID; -- cgit v1.2.3