Fix "error: ‘playerSAO’ was not declared"

Cause: 351cc2e79a7d78f7ec97ff9b33e4f0bad4042b19

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

@ -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;