Fix conditional bug in inventory
authorGiuseppe Bilotta <giuseppe.bilotta@gmail.com>
Thu, 1 Dec 2011 08:13:43 +0000 (09:13 +0100)
committerPerttu Ahola <celeron55@gmail.com>
Thu, 1 Dec 2011 08:41:24 +0000 (10:41 +0200)
commitaab50cd2cc94743d527bfffe46027d4ab765e99a
tree732ee41d78bfb8a81a24057b29a60caeae7dd19d
parent96c30452f9d2e6085769baa5befbcbcf62a507c4
Fix conditional bug in inventory

A spurious semicolon after the conditional checking for the drop count
to be not higher than the owned count caused the subsequent
    count = getCount()
to be always executed. Fix by removing the extra semicolon.
src/inventory.cpp