projects
/
oweals
/
minetest.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a5c9174
)
Fix "error: ‘playerSAO’ was not declared"
author
Auke Kok
<sofar@foo-projects.org>
Fri, 7 Apr 2017 05:04:40 +0000
(22:04 -0700)
committer
Auke Kok
<sofar@foo-projects.org>
Fri, 7 Apr 2017 05:05:31 +0000
(22:05 -0700)
Cause:
351cc2e79a7d78f7ec97ff9b33e4f0bad4042b19
A rebase issue missed a rename from playerSAO to playersao.
Tested.
src/network/serverpackethandler.cpp
patch
|
blob
|
history
diff --git
a/src/network/serverpackethandler.cpp
b/src/network/serverpackethandler.cpp
index 26c297a8f61d0d8480e74b1814790dc925157f5f..27c33a4f60b679f65cf20e0486914ebd0738b33c 100644
(file)
--- 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 (player
SAO
->isDead()) {
+ if (player
sao
->isDead()) {
verbosestream << "Server::ProcessData(): Info: "
"Ignoring damage as player " << player->getName()
<< " is already dead." << std::endl;