really fixed PTRCALL now

This commit is contained in:
Karroffel
2017-03-05 16:20:07 +01:00
parent 07df8a02e6
commit 1531f6fe01
3 changed files with 2 additions and 6 deletions

View File

@ -2178,11 +2178,6 @@ Variant::operator IP_Address() const {
return IP_Address( operator String() );
}
Variant::operator PowerState() const
{
return (PowerState) operator int();
}
Variant::Variant(bool p_bool) {
type=BOOL;
@ -2653,6 +2648,7 @@ Variant::Variant(const IP_Address& p_address) {
memnew_placement( _data._mem, String( p_address ) );
}
Variant::Variant(const Variant& p_variant) {
type=NIL;