diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-08-20 20:44:07 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-08-20 20:44:07 +0300 |
commit | b10fa36d8a7669b6a2991dddc37cf8cf0514c5a6 (patch) | |
tree | 81debcf7c5a19ae87ae057347f8c6ef125f8f774 /src/map/script.c | |
parent | 9ce085ad98e9b91894a920987c3db959f69e59cf (diff) | |
download | hercules-s20160911.tar.gz hercules-s20160911.tar.bz2 hercules-s20160911.tar.xz hercules-s20160911.zip |
Remove wrong check from script.cs20160911
Diffstat (limited to 'src/map/script.c')
-rw-r--r-- | src/map/script.c | 1 |
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); |