[bugfix] removed check in setRespawnWorld due to the nature of NULL
This commit is contained in:
parent
732fc2a9d7
commit
227585f1dc
@ -142,12 +142,9 @@ bool WorldClient::respawnInWorld() const {
|
|||||||
return m_respawnInWorld;
|
return m_respawnInWorld;
|
||||||
}
|
}
|
||||||
|
|
||||||
bool WorldClient::setRespawnInWorld(bool value = NULL) {
|
bool WorldClient::setRespawnInWorld(bool value) {
|
||||||
|
|
||||||
if (value != NULL)
|
|
||||||
m_respawnInWorld = value;
|
m_respawnInWorld = value;
|
||||||
else
|
|
||||||
m_respawnInWorld ^= true; // dont know if we still want to set the respawn if no argument is given here
|
|
||||||
|
|
||||||
return m_respawnInWorld;
|
return m_respawnInWorld;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user