Rename remove() to remove_at() when removing by index
This commit is contained in:
1 parent
5efe80f308
commit
e078f970db
134 files changed
+323
-323
No files matched your search
@@ -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;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user