- fixed: AActor::SetOrigin lost its 'virtual' qualifier in the ZScript merge, but ADynamicLight needs this to work properly.

This commit is contained in:
Christoph Oelckers 2017-02-05 21:38:06 +01:00
parent e55406bc23
commit 810efe517d
1 changed files with 1 additions and 1 deletions

View File

@ -972,7 +972,7 @@ public:
{
SetOrigin(Pos() + vel, true);
}
void SetOrigin(double x, double y, double z, bool moving);
virtual void SetOrigin(double x, double y, double z, bool moving);
void SetOrigin(const DVector3 & npos, bool moving)
{
SetOrigin(npos.X, npos.Y, npos.Z, moving);