- fixed: DInterpolation was unlinking itself from the wrong interpolator

The global one was just a leftover, the real one is on the current level.
This commit is contained in:
Christoph Oelckers 2019-01-31 03:25:26 +01:00
commit 0a781b9bbb
2 changed files with 8 additions and 2 deletions

View file

@ -19,9 +19,10 @@ class DInterpolation : public DObject
TObjPtr<DInterpolation*> Prev;
protected:
FLevelLocals *Level;
int refcount;
DInterpolation();
DInterpolation(FLevelLocals *l) : Level(l) {}
public:
int AddRef();