Rename remove() to remove_at() when removing by index

This commit is contained in:
Lightning_A authored and Aaron Record committed 2021-11-23 18:58:57 -07:00
1 parent 5efe80f308
commit e078f970db
134 files changed
+323 -323

No files matched your search

+1 -1
View File
@@ -223,7 +223,7 @@ void AndroidInputHandler::process_touch(int p_event, int p_pointer, const Vector
ev->set_pressed(false);
ev->set_position(touch[i].pos);
Input::get_singleton()->parse_input_event(ev);
touch.remove(i);
touch.remove_at(i);
break;
}