summaryrefslogtreecommitdiff
path: root/src/map/unit.c
diff options
context:
space:
mode:
authorskyleo <skyleo@skyleo.de>2018-11-19 10:20:06 +0100
committerskyleo <skyleo@skyleo.de>2018-11-20 11:58:10 +0100
commit63b62712347f5995a2ff01e67b0b4f86838857d5 (patch)
tree117e3bcbe6adc7f9bdba3d1fe96bbd6cfb30868e /src/map/unit.c
parent5e37ad2204e8d3fc3069cfa96fe9739685f2f7a0 (diff)
downloadhercules-63b62712347f5995a2ff01e67b0b4f86838857d5.tar.gz
hercules-63b62712347f5995a2ff01e67b0b4f86838857d5.tar.bz2
hercules-63b62712347f5995a2ff01e67b0b4f86838857d5.tar.xz
hercules-63b62712347f5995a2ff01e67b0b4f86838857d5.zip
Change short group to bool is_group in s_add_drop
current checks for empty entries assumed that if id and group is 0 that it is empty, while in fact ITMCHAIN_ORE has group 0 as value, for easier checks and more aesthetic code short group has been replaced, id's are now always written into short id and bool is_group decides if it's an item or a group.
Diffstat (limited to 'src/map/unit.c')
0 files changed, 0 insertions, 0 deletions