Fix "error: ‘playerSAO’ was not declared"

Cause: 351cc2e79a

A rebase issue missed a rename from playerSAO to playersao.

Tested.
This commit is contained in:
Auke Kok 2017-04-06 22:04:40 -07:00
parent a5c9174bad
commit 94358a709b
1 changed files with 1 additions and 1 deletions

View File

@ -1107,7 +1107,7 @@ void Server::handleCommand_Damage(NetworkPacket* pkt)
}
if (g_settings->getBool("enable_damage")) {
if (playerSAO->isDead()) {
if (playersao->isDead()) {
verbosestream << "Server::ProcessData(): Info: "
"Ignoring damage as player " << player->getName()
<< " is already dead." << std::endl;