aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfusion32 <marcopuzziello@gmail.com>2025-10-11 04:20:00 -0300
committerfusion32 <marcopuzziello@gmail.com>2025-10-11 04:20:00 -0300
commit9a8bab9ff3b13c8f1d261d51ffc301b6e59969c9 (patch)
tree6dfc6b78f6d747260e032fb76621835bfb5971e5
parentc37447f1409db58fc59da7a91cecefa6917d7d71 (diff)
downloadgame-9a8bab9ff3b13c8f1d261d51ffc301b6e59969c9.tar.gz
game-9a8bab9ff3b13c8f1d261d51ffc301b6e59969c9.zip
fix problem with summons being spawned as non-summons
-rw-r--r--src/crnonpl.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/crnonpl.cc b/src/crnonpl.cc
index 3ec73dc..f334626 100644
--- a/src/crnonpl.cc
+++ b/src/crnonpl.cc
@@ -1991,7 +1991,7 @@ TMonster::TMonster(int Race, int x, int y, int z, int Home, uint32 MasterID) :
return;
}
- if(Master->Type != MONSTER || ((TMonster*)Master)->Master != 0){
+ if(Master->Type != MONSTER || ((TMonster*)Master)->Master == 0){
this->LifeEndRound = Master->LifeEndRound;
Master->SummonedCreatures += 1;
break;