diff --git a/core/local_vector.h b/core/local_vector.h index de5264ef4cb..f42456ac059 100644 --- a/core/local_vector.h +++ b/core/local_vector.h @@ -177,7 +177,6 @@ public: } int64_t find(const T &p_val, U p_from = 0) const { - ERR_FAIL_UNSIGNED_INDEX_V(p_from, count, -1); for (U i = p_from; i < count; i++) { if (data[i] == p_val) { return int64_t(i);