diff options
author | Novatux <nathanael.courant@laposte.net> | 2014-03-18 20:02:18 +0100 |
---|---|---|
committer | Novatux <nathanael.courant@laposte.net> | 2014-03-22 18:15:33 +0100 |
commit | 936c6f577ad70c9a467eaed58233e737671375df (patch) | |
tree | 567a52a4bab1082224aab46862c4ff37f337b89c /src/game.h | |
parent | 5fefc4bbf6380960f11f0b125fc51b6efdc19e2e (diff) | |
download | minetest-936c6f577ad70c9a467eaed58233e737671375df.tar.gz minetest-936c6f577ad70c9a467eaed58233e737671375df.tar.bz2 minetest-936c6f577ad70c9a467eaed58233e737671375df.zip |
Fix "ghost stacks" created when a player clicks an item on the ground:
since the object is not immediately removed, any other code may still
think an object is there, therefore leading to item duplication. This code
therefore sets the itemstring to '' after the object is picked up to avoid
such issues
Diffstat (limited to 'src/game.h')
0 files changed, 0 insertions, 0 deletions