summaryrefslogtreecommitdiff
path: root/src
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
parent346c330c945ab1b4024221c8576e688923ead9c2 (diff)
downloadplugin-e606b491b0cd44bd9fd14b3d6ac3634d7e942053.tar.gz
plugin-e606b491b0cd44bd9fd14b3d6ac3634d7e942053.tar.bz2
plugin-e606b491b0cd44bd9fd14b3d6ac3634d7e942053.tar.xz
plugin-e606b491b0cd44bd9fd14b3d6ac3634d7e942053.zip
Fix compilation warning.
Diffstat (limited to 'src')
-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 ++)
{