From f2025e6a2f05ace4649417d2e82f65d43d04313d Mon Sep 17 00:00:00 2001 From: Edward Richardson Date: Fri, 5 Feb 2016 12:52:29 +1300 Subject: [PATCH] Fixed possible issue with GCC/Clang --- src/actor.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/actor.h b/src/actor.h index f97d093c0..86bfd9796 100644 --- a/src/actor.h +++ b/src/actor.h @@ -1408,7 +1408,7 @@ inline T *Spawn (fixed_t x, fixed_t y, fixed_t z, replace_t allowreplacement) template inline T *Spawn (const fixedvec3 &pos, replace_t allowreplacement) { - return static_cast(AActor::StaticSpawn (RUNTIME_CLASS(T), pos.x, pos.y, pos.z, allowreplacement)); + return static_cast(AActor::StaticSpawn (RUNTIME_TEMPLATE_CLASS(T), pos.x, pos.y, pos.z, allowreplacement)); } inline fixedvec2 Vec2Angle(fixed_t length, angle_t angle)