summaryrefslogtreecommitdiff
path: root/src/emap/pc.c
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-08-17 19:36:37 +0300
committerAndrei Karas <akaras@inbox.ru>2015-08-17 19:36:37 +0300
commit9462476364311b17a4ab34547a102e2228ef9c57 (patch)
tree87ddf0d327c2042f0d21f4244041f9d90cd761d6 /src/emap/pc.c
parent333c908061a1871a73a8562f0095bb15c3ddb740 (diff)
downloadevol-hercules-9462476364311b17a4ab34547a102e2228ef9c57.tar.gz
evol-hercules-9462476364311b17a4ab34547a102e2228ef9c57.tar.bz2
evol-hercules-9462476364311b17a4ab34547a102e2228ef9c57.tar.xz
evol-hercules-9462476364311b17a4ab34547a102e2228ef9c57.zip
Done allow insert card if it not presetn in AllowCards list and this list present.
Diffstat (limited to 'src/emap/pc.c')
-rw-r--r--src/emap/pc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/emap/pc.c b/src/emap/pc.c
index db78d6a..f5c22c6 100644
--- a/src/emap/pc.c
+++ b/src/emap/pc.c
@@ -441,7 +441,7 @@ bool epc_can_insert_card_into_post(bool retVal, struct map_session_data* sd,
}
}
if (!cardAmountLimit)
- return retVal;
+ return false;
int cardsAmount = 0;
const int slots = sd->inventory_data[*idx_equip]->slot;