]> git.lizzy.rs Git - minetest.git/commit
Fix a rare crash case un SendPlayerHP
authorNer'zhul <nerzhul@users.noreply.github.com>
Sat, 11 Apr 2015 08:07:23 +0000 (10:07 +0200)
committerNer'zhul <nerzhul@users.noreply.github.com>
Sat, 11 Apr 2015 08:07:23 +0000 (10:07 +0200)
commitce8a9ed94b7a3a4cbce04bee27bf8d4167ac6161
treedfe8dcf7c310787e949fddc14a6da2fa167e1ad8
parent0a413265cb7057b5303733dd32cf802a9ecf6105
Fix a rare crash case un SendPlayerHP

If the player is disconnected while Lua API is doing a l_punch call, for example, the playersao is NULL and the server crash. Fix it.
src/server.cpp