Disallow creation of abstract classes outside of their own class (this is so that modders can create their own factory methods, not just for native)

This commit is contained in:
ZZYZX 2017-02-16 02:39:49 +02:00
commit 7d3663500f
4 changed files with 19 additions and 4 deletions

View file

@ -1208,6 +1208,7 @@ private:
class FxNew : public FxExpression
{
FxExpression *val;
PClass *CallingClass;
public: