| Commit message (Collapse) | Author | Age |
|
|
|
|
| |
Partially reverts #3547
Infotext remains optional for objects, empty by default
|
| |
|
|
|
|
|
| |
The player name is now added in the field "dropped_by" on the created
entity.
|
|
|
|
| |
Fixes #3280
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
Items dropped into unloaded map space will crash game so here's a fix...
|
|
|
|
| |
Don't ident too much, and add a comment.
|
|
|
|
| |
Signed-off-by: Craig Robbins <kde.psych@gmail.com>
|
|
|
|
| |
Also fix leaking globals found by it.
|
|
|
|
| |
Add TTL to item entities.
|
| |
|
|
|