This commit is contained in:
Christoph Oelckers 2016-02-05 01:21:01 +01:00
commit 995169de58
1 changed files with 1 additions and 1 deletions

View File

@ -1408,7 +1408,7 @@ inline T *Spawn (fixed_t x, fixed_t y, fixed_t z, replace_t allowreplacement)
template<class T> template<class T>
inline T *Spawn (const fixedvec3 &pos, replace_t allowreplacement) inline T *Spawn (const fixedvec3 &pos, replace_t allowreplacement)
{ {
return static_cast<T *>(AActor::StaticSpawn (RUNTIME_CLASS(T), pos.x, pos.y, pos.z, allowreplacement)); return static_cast<T *>(AActor::StaticSpawn (RUNTIME_TEMPLATE_CLASS(T), pos.x, pos.y, pos.z, allowreplacement));
} }
inline fixedvec2 Vec2Angle(fixed_t length, angle_t angle) inline fixedvec2 Vec2Angle(fixed_t length, angle_t angle)