fixed PowerState enum cast

Quite a while ago I made a commit (131631b) where I did a weird
thing to fix compilation with PTRCALL_ENABLED. And I couldn't
sleep because of this after all these months. So here is the
proper version.
This commit is contained in:
Karroffel 2017-06-01 00:16:33 +02:00
parent a802bd91d0
commit 6bda2876f1
2 changed files with 2 additions and 1 deletions

View file

@ -115,7 +115,6 @@ MAKE_PTRARG(PoolVector2Array);
MAKE_PTRARG(PoolVector3Array);
MAKE_PTRARG(PoolColorArray);
MAKE_PTRARG(Variant);
MAKE_PTRARG(PowerState);
//this is for Object

View file

@ -413,4 +413,6 @@ public:
virtual ~OS();
};
VARIANT_ENUM_CAST(PowerState);
#endif