summaryrefslogtreecommitdiff
path: root/src/map/itemdb.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/map/itemdb.c')
-rw-r--r--src/map/itemdb.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/itemdb.c b/src/map/itemdb.c
index a4d873cb0..fb7cbe86f 100644
--- a/src/map/itemdb.c
+++ b/src/map/itemdb.c
@@ -330,7 +330,7 @@ int itemdb_isequip(int nameid)
*------------------------------------------*/
int itemdb_isequip2(struct item_data *data)
{
- nullpo_retr(0, data);
+ nullpo_ret(data);
switch(data->type) {
case IT_WEAPON:
case IT_ARMOR:
@@ -363,7 +363,7 @@ int itemdb_isstackable(int nameid)
*------------------------------------------*/
int itemdb_isstackable2(struct item_data *data)
{
- nullpo_retr(0, data);
+ nullpo_ret(data);
switch(data->type) {
case IT_WEAPON:
case IT_ARMOR: