aboutsummaryrefslogtreecommitdiff
path: root/src/crnonpl.cc
diff options
context:
space:
mode:
authorfusion32 <marcopuzziello@gmail.com>2026-05-09 12:24:34 -0300
committerfusion32 <marcopuzziello@gmail.com>2026-05-09 12:40:41 -0300
commit54c2169ec9a99e34e1270e43e9fd1fccd3d2a824 (patch)
tree0da9195620521a3e4cbfcbb042441c34aba3794b /src/crnonpl.cc
parent7beaa081de8aedd28f4c7ce717bcfbd2b09230d3 (diff)
downloadgame-54c2169ec9a99e34e1270e43e9fd1fccd3d2a824.tar.gz
game-54c2169ec9a99e34e1270e43e9fd1fccd3d2a824.zip
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.
Diffstat (limited to 'src/crnonpl.cc')
-rw-r--r--src/crnonpl.cc4
1 files changed, 2 insertions, 2 deletions
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;