From 24328568ed53b1f291b41d7cd30b21d6b539dccd Mon Sep 17 00:00:00 2001 From: Arkshine Date: Wed, 7 May 2014 10:38:41 +0200 Subject: [PATCH] Fix typo with TrieGetArray return value in #8. --- amxmodx/trie_natives.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/amxmodx/trie_natives.cpp b/amxmodx/trie_natives.cpp index a5bac284..3782388a 100644 --- a/amxmodx/trie_natives.cpp +++ b/amxmodx/trie_natives.cpp @@ -248,7 +248,7 @@ static cell AMX_NATIVE_CALL TrieGetArray(AMX *amx, cell *params) if (!params[4]) { - return 0; + return 1; } size_t length = r->value.arrayLength();