diff options
| author | fusion32 <marcopuzziello@gmail.com> | 2025-08-25 22:24:01 -0300 |
|---|---|---|
| committer | fusion32 <marcopuzziello@gmail.com> | 2025-08-25 22:24:01 -0300 |
| commit | 29b62e631b4db85126ddf860106735975487bbeb (patch) | |
| tree | 1a1404c8e398e145cfbdf59fbbcbdbca6a4e6c7f | |
| parent | e72872d524b59faf1c962e2a5812d13517e2e807 (diff) | |
| download | game-29b62e631b4db85126ddf860106735975487bbeb.tar.gz game-29b62e631b4db85126ddf860106735975487bbeb.zip | |
fix angle shaped spells path check -- fixes #5
| -rw-r--r-- | src/magic.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/magic.cc b/src/magic.cc index c8dca44..42f04ee 100644 --- a/src/magic.cc +++ b/src/magic.cc @@ -587,7 +587,7 @@ void AngleShapeSpell(TCreature *Actor, int Angle, int Range, TImpact *Impact, in continue; } - if(!ThrowPossible(ActorX, ActorZ, ActorZ, FieldX, FieldY, FieldZ, 0)){ + if(!ThrowPossible(ActorX, ActorY, ActorZ, FieldX, FieldY, FieldZ, 0)){ continue; } |
