From 38a06a06d6988009eb022f1a5ee0f31f8b93ac4e Mon Sep 17 00:00:00 2001 From: fusion32 Date: Wed, 11 Feb 2026 00:31:16 -0300 Subject: fix bug with Challenge spell --- src/magic.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/magic.cc') diff --git a/src/magic.cc b/src/magic.cc index 61b2fe7..4e92808 100644 --- a/src/magic.cc +++ b/src/magic.cc @@ -2636,8 +2636,8 @@ void Challenge(TCreature *Actor, int ManaPoints, int SoulPoints, int Radius){ } int ActorX = Actor->posx; - int ActorY = Actor->posx; - int ActorZ = Actor->posx; + int ActorY = Actor->posy; + int ActorZ = Actor->posz; for(int R = 0; R <= Radius; R += 1){ int CirclePoints = Circle[R].Count; for(int Point = 0; Point < CirclePoints; Point += 1){ -- cgit v1.2.3