aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArtamedes <ownedned123@gmail.com>2019-09-05 10:57:34 -0400
committerShauren <shauren.trinity@gmail.com>2021-12-18 21:37:15 +0100
commite4607725dda064d8021519db5b9a1ba9f6e14613 (patch)
tree6a6f1456d643fa53346614325adfd0fcd3b0fdf2
parent913f0903a3264f14ea44356bc86dade81348a546 (diff)
Scripts/Outland: Change auto to TempSummon* (#23764)
(cherry picked from commit 1b095811b82e7bf390e3a3e522e768fc2b42d2b0)
-rw-r--r--src/server/scripts/Outland/zone_hellfire_peninsula.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/scripts/Outland/zone_hellfire_peninsula.cpp b/src/server/scripts/Outland/zone_hellfire_peninsula.cpp
index 0cac96a64b5..12d358d5d13 100644
--- a/src/server/scripts/Outland/zone_hellfire_peninsula.cpp
+++ b/src/server/scripts/Outland/zone_hellfire_peninsula.cpp
@@ -163,7 +163,7 @@ public:
me->SetSpeedRate(MOVE_WALK, 1.5f);
- if (auto tempSummon = me->ToTempSummon())
+ if (TempSummon* tempSummon = me->ToTempSummon())
tempSummon->SetCanFollowOwner(false);
}
else