aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorArtamedes <ownedned123@gmail.com>2019-09-05 10:57:34 -0400
committerShauren <shauren.trinity@gmail.com>2019-09-05 16:57:34 +0200
commit1b095811b82e7bf390e3a3e522e768fc2b42d2b0 (patch)
tree6f5fbd645cc1b1a174dd3ab416bca24f5e795f56 /src
parent0b3a9e2a2b2537e7224d103947ad6028c6d2e5fe (diff)
Scripts/Outland: Change auto to TempSummon* (#23764)
Diffstat (limited to 'src')
-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 6cd12990a06..b400c09be2c 100644
--- a/src/server/scripts/Outland/zone_hellfire_peninsula.cpp
+++ b/src/server/scripts/Outland/zone_hellfire_peninsula.cpp
@@ -165,7 +165,7 @@ public:
me->SetSpeedRate(MOVE_WALK, 1.5f);
- if (auto tempSummon = me->ToTempSummon())
+ if (TempSummon* tempSummon = me->ToTempSummon())
tempSummon->SetCanFollowOwner(false);
}
else