diff options
Diffstat (limited to 'src/map/script.c')
-rw-r--r-- | src/map/script.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/map/script.c b/src/map/script.c index 28cb7ed7e..4d8c820cf 100644 --- a/src/map/script.c +++ b/src/map/script.c @@ -5892,8 +5892,11 @@ BUILDIN_FUNC(countitem) nameid = conv_num(st,data); if (nameid < 500) { - if(battle_config.error_log) ShowError("wrong item ID : countitem(%i)\n", nameid); - script_reportsrc(st); + if(battle_config.error_log) + { + ShowError("wrong item ID : countitem(%i)\n", nameid); + script_reportsrc(st); + } script_pushint(st,0); return 1; } |