1
0
mirror of https://github.com/godotengine/godot.git synced 2026-01-04 19:21:46 +00:00
Files
godot/core
Rémi Verschelde f0e76377cb LocalVector: Don't error if from >= count
Vector handles this silently by returning -1, and we should do the same here.
Otherwise we get errors when calling `find()` on e.g. a LocalVector of size 0,
while `find()` is expected to always work (if the parameters are invalid then
it doesn't find anything, so -1).

Fixup to #49925.

(cherry picked from commit 7b7ccf25b6)
2021-07-06 11:10:44 +02:00
..
2021-05-20 13:29:38 +03:00
2021-06-18 12:57:59 +01:00
2021-06-18 11:00:44 -04:00
2021-06-18 12:57:59 +01:00
2021-06-16 11:56:25 +01:00
2021-06-16 11:56:25 +01:00
2021-06-16 11:56:25 +01:00
2021-06-17 12:47:54 +02:00
2021-01-13 16:17:06 +01:00