Fix various bugs (Anticheat, Lua helpers) (#8013)
authorSmallJoker <SmallJoker@users.noreply.github.com>
Sun, 6 Jan 2019 09:24:44 +0000 (10:24 +0100)
committerLoïc Blot <nerzhul@users.noreply.github.com>
Sun, 6 Jan 2019 09:24:44 +0000 (10:24 +0100)
commita122ba0ef4af865d225adbe22a55b8001af04c61
tree9e8e6097621396e4bab22e5aa21a70900a502878
parent70bf3439ab9f3cb826d76111552dcc38678fcf3d
Fix various bugs (Anticheat, Lua helpers) (#8013)

* Fix various bugs (Anticheat, Lua helpers)

Anticheat: Use camera position instead of player position for shoot line calculations
Lua helpers: Increase 'i' to not overwrite earlier added table values

* Remove lag compensation

* * 1.5 for larger selection boxes
src/network/serverpackethandler.cpp
src/script/common/c_content.cpp
src/script/lua_api/l_mainmenu.cpp
src/script/lua_api/l_mapgen.cpp
src/script/lua_api/l_object.cpp