aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfusion32 <marcopuzziello@gmail.com>2025-10-11 04:02:35 -0300
committerfusion32 <marcopuzziello@gmail.com>2025-10-11 04:02:35 -0300
commitc37447f1409db58fc59da7a91cecefa6917d7d71 (patch)
tree3f46b076e9c6aa6974e194703277746b0d2e1a5c
parenta577390cf338ade5e7f7df2e3b9b677f5945d814 (diff)
downloadgame-c37447f1409db58fc59da7a91cecefa6917d7d71.tar.gz
game-c37447f1409db58fc59da7a91cecefa6917d7d71.zip
fix IMPACT_SUMMON not working properly - fixes #37
-rw-r--r--src/magic.cc1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/magic.cc b/src/magic.cc
index af8e031..f7fbe70 100644
--- a/src/magic.cc
+++ b/src/magic.cc
@@ -389,7 +389,6 @@ void TSummonImpact::handleField(int x, int y, int z){
if(Actor != NULL
&& IsRaceValid(Race)
&& Actor->SummonedCreatures < Maximum){
- int x, y, z;
if(SearchSummonField(&x, &y, &z, 2)){
CreateMonster(Race, x, y, z, 0, Actor->ID, true);
}