Skip to content
Permalink
Browse files

Fix "error: ‘playerSAO’ was not declared"

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 94358a709bdb1fe8101b2b228dec78b67fb377a6
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/network/serverpackethandler.cpp
@@ -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;

0 comments on commit 94358a7

Please sign in to comment.
You can’t perform that action at this time.