summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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;