summaryrefslogtreecommitdiff
path: root/src/emap/craft.c
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-04-28 02:03:34 +0300
committerAndrei Karas <akaras@inbox.ru>2016-04-28 02:03:34 +0300
commite606b491b0cd44bd9fd14b3d6ac3634d7e942053 (patch)
treed2a086e387aed34ae2a5ad47b3f671cba95c0758 /src/emap/craft.c
parent346c330c945ab1b4024221c8576e688923ead9c2 (diff)
downloadevol-hercules-e606b491b0cd44bd9fd14b3d6ac3634d7e942053.tar.gz
evol-hercules-e606b491b0cd44bd9fd14b3d6ac3634d7e942053.tar.bz2
evol-hercules-e606b491b0cd44bd9fd14b3d6ac3634d7e942053.tar.xz
evol-hercules-e606b491b0cd44bd9fd14b3d6ac3634d7e942053.zip
Fix compilation warning.
Diffstat (limited to 'src/emap/craft.c')
-rw-r--r--src/emap/craft.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/emap/craft.c b/src/emap/craft.c
index 87310e5..0e2001f 100644
--- a/src/emap/craft.c
+++ b/src/emap/craft.c
@@ -564,7 +564,7 @@ static void simplify_craftvar(TBL_PC *sd,
int i;
if (!craft || !craft_inventory)
- return false;
+ return;
// combine different slots from inventory var into one slot with id and amount
for (i = 0; i < craft_inventory_size; i ++)
{