diff options
author | Auke Kok <sofar@foo-projects.org> | 2017-04-06 22:04:40 -0700 |
---|---|---|
committer | Auke Kok <sofar@foo-projects.org> | 2017-04-06 22:05:31 -0700 |
commit | 94358a709bdb1fe8101b2b228dec78b67fb377a6 (patch) | |
tree | fdff036b05a378480166a09b5399541885a5bf5f | |
parent | a5c9174bad462c27d7086d6db7fbfad7d0cea3da (diff) | |
download | minetest-94358a709bdb1fe8101b2b228dec78b67fb377a6.tar.gz minetest-94358a709bdb1fe8101b2b228dec78b67fb377a6.tar.bz2 minetest-94358a709bdb1fe8101b2b228dec78b67fb377a6.zip |
Fix "error: ‘playerSAO’ was not declared"
Cause: 351cc2e79a7d78f7ec97ff9b33e4f0bad4042b19
A rebase issue missed a rename from playerSAO to playersao.
Tested.
-rw-r--r-- | src/network/serverpackethandler.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network/serverpackethandler.cpp b/src/network/serverpackethandler.cpp index 26c297a8f..27c33a4f6 100644 --- a/src/network/serverpackethandler.cpp +++ b/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; |