WIP
This commit is contained in:
@@ -54,7 +54,7 @@ bool EntityWrapper::IsChildOf(EntityWrapper potentialParent)
|
||||
return false;
|
||||
}
|
||||
|
||||
bool EntityWrapper::Valid()
|
||||
bool EntityWrapper::Valid() const
|
||||
{
|
||||
if (this->World == nullptr) {
|
||||
return false;
|
||||
@@ -65,7 +65,6 @@ bool EntityWrapper::Valid()
|
||||
}
|
||||
|
||||
if (!this->World->ValidEntity(this->ID)) {
|
||||
this->ID = EntityID_Invalid;
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user