diff options
author | Zefram <zefram@fysh.org> | 2014-07-14 19:34:15 +0100 |
---|---|---|
committer | Vanessa Ezekowitz <vanessaezekowitz@gmail.com> | 2014-07-14 14:55:22 -0400 |
commit | ce1505d008b273eeff4241453eee114f40ceb6cd (patch) | |
tree | b2883525a1f6da18400bd812e5c6c06ab5b3e37c /textures/pipeworks_storage_tank_front_2.png | |
parent | 8aea4b1a1364e0cb6c4bb7b344c5b83455ed4bb5 (diff) | |
download | pipeworks-ce1505d008b273eeff4241453eee114f40ceb6cd.tar pipeworks-ce1505d008b273eeff4241453eee114f40ceb6cd.tar.gz pipeworks-ce1505d008b273eeff4241453eee114f40ceb6cd.tar.bz2 pipeworks-ce1505d008b273eeff4241453eee114f40ceb6cd.tar.xz pipeworks-ce1505d008b273eeff4241453eee114f40ceb6cd.zip |
Fix detector tube item counting
A detector tube would sometimes miss a decrement, due to the pos structure
passed to can_go being modified by the tubed-item entity while it's also
sitting in the timer queue as an argument to item_exit. As the can_go
API actually depends on being able to mutate the pos structure (see the
teleporter tube), we can't just start passing in a never-mutated copy
of pos. So for now just fix in the detector tube's can_go, by copying the
structure there. Incidentally, make the decrement mechanism consistent
between the two forms of increment.
Diffstat (limited to 'textures/pipeworks_storage_tank_front_2.png')
0 files changed, 0 insertions, 0 deletions