aboutsummaryrefslogtreecommitdiff
path: root/src/inventory.h
diff options
context:
space:
mode:
authorparamat <mat.gregory@virginmedia.com>2017-01-26 15:38:18 +0000
committerparamat <mat.gregory@virginmedia.com>2017-01-26 20:19:05 +0000
commit2a8953107181b4df6ff55d0ae214490575609f49 (patch)
tree269beb7799f54924b8bc5a84bbe040cd2694f7ee /src/inventory.h
parentae929ce2fdcfcfc95cffece35f3d38ea4d96dd9f (diff)
downloadminetest-2a8953107181b4df6ff55d0ae214490575609f49.tar.gz
minetest-2a8953107181b4df6ff55d0ae214490575609f49.tar.bz2
minetest-2a8953107181b4df6ff55d0ae214490575609f49.zip
Dungeongen: Fix selection of diagonal corridors
The do .. while loop is waiting for both dir.X and dir.Z to be non-zero, so should continue to loop if either dir.X or dir.Z are zero. The brackets present suggest this was intended to be OR not AND.
Diffstat (limited to 'src/inventory.h')
0 files changed, 0 insertions, 0 deletions