Skip to content

Commit

Permalink
Fix "error: ‘playerSAO’ was not declared"
Browse files Browse the repository at this point in the history
Cause: 351cc2e

A rebase issue missed a rename from playerSAO to playersao.

Tested.
  • Loading branch information
sofar committed Apr 7, 2017
1 parent a5c9174 commit 94358a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/network/serverpackethandler.cpp
Expand Up @@ -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;
Expand Down

0 comments on commit 94358a7

Please sign in to comment.