Fix "error: ‘playerSAO’ was not declared"
Cause: 351cc2e79a
A rebase issue missed a rename from playerSAO to playersao.
Tested.
This commit is contained in:
parent
a5c9174bad
commit
94358a709b
|
@ -1107,7 +1107,7 @@ void Server::handleCommand_Damage(NetworkPacket* pkt)
|
||||||
}
|
}
|
||||||
|
|
||||||
if (g_settings->getBool("enable_damage")) {
|
if (g_settings->getBool("enable_damage")) {
|
||||||
if (playerSAO->isDead()) {
|
if (playersao->isDead()) {
|
||||||
verbosestream << "Server::ProcessData(): Info: "
|
verbosestream << "Server::ProcessData(): Info: "
|
||||||
"Ignoring damage as player " << player->getName()
|
"Ignoring damage as player " << player->getName()
|
||||||
<< " is already dead." << std::endl;
|
<< " is already dead." << std::endl;
|
||||||
|
|
Loading…
Reference in New Issue