diff --git a/amxmodx/CList.h b/amxmodx/CList.h index b4c72b96..f798c99e 100755 --- a/amxmodx/CList.h +++ b/amxmodx/CList.h @@ -279,9 +279,10 @@ public: iterator iter = begin(); while (iter) iter.remove(); } - iterator find(F desc) + + iterator find(iterator startOn, const F &desc) { - iterator iter = begin(); + iterator iter = startOn; while(iter) { if (*iter == desc) @@ -291,6 +292,11 @@ public: return iter; } + iterator find(const F &desc) + { + return find(begin(), desc); + } + int size() { iterator iter = begin();