diff options
author | est31 <MTest31@outlook.com> | 2015-09-29 17:26:07 +0200 |
---|---|---|
committer | est31 <MTest31@outlook.com> | 2015-09-29 23:06:15 +0200 |
commit | 2a7d01b833da7b93125ad31e787f3e2145a22ec5 (patch) | |
tree | 6935cfd49760e6ef09723ab9471f23261efc2d95 /doc/lgpl-2.1.txt | |
parent | 0cde03254a6564eaec21603e9add4f14e6c2fe52 (diff) | |
download | minetest-2a7d01b833da7b93125ad31e787f3e2145a22ec5.tar.gz minetest-2a7d01b833da7b93125ad31e787f3e2145a22ec5.tar.bz2 minetest-2a7d01b833da7b93125ad31e787f3e2145a22ec5.zip |
Some map border related fixes
1. Check for entity addition success in spawn_item implementation
2. Check for success in item_drop callback, so that the player
doesn't lose the item if they are outside bounds and try to drop it.
3. When existing player joins game, check that their position is inside
map bounds. If not, set their position to the return value of findSpawnPos().
4. Make findSpawnPos() respect the border
2 fixes a lua crash if a player drops an item outside map bounds.
3 fixes an assertion crash if a player leaves when being outside map bounds,
and then rejoins.
Diffstat (limited to 'doc/lgpl-2.1.txt')
0 files changed, 0 insertions, 0 deletions