summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-08-20 20:44:07 +0300
committerAndrei Karas <akaras@inbox.ru>2016-08-20 20:44:07 +0300
commitb10fa36d8a7669b6a2991dddc37cf8cf0514c5a6 (patch)
tree81debcf7c5a19ae87ae057347f8c6ef125f8f774
parent9ce085ad98e9b91894a920987c3db959f69e59cf (diff)
downloadhercules-b10fa36d8a7669b6a2991dddc37cf8cf0514c5a6.tar.gz
hercules-b10fa36d8a7669b6a2991dddc37cf8cf0514c5a6.tar.bz2
hercules-b10fa36d8a7669b6a2991dddc37cf8cf0514c5a6.tar.xz
hercules-b10fa36d8a7669b6a2991dddc37cf8cf0514c5a6.zip
Remove wrong check from script.cs20160911
-rw-r--r--src/map/script.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/map/script.c b/src/map/script.c
index c5bf209a6..bb6a13fd9 100644
--- a/src/map/script.c
+++ b/src/map/script.c
@@ -5767,7 +5767,6 @@ int menu_countoptions(const char* str, int max_count, int* total)
int bogus_total;
nullpo_ret(str);
- nullpo_ret(total);
if( total == NULL )
total = &bogus_total;
++(*total);