moved update_objects to after update_game
parent
44a4b6928c
commit
2e7b3d3c4a
|
@ -66,8 +66,8 @@ int _engine_run() {
|
||||||
_render_mode = 1;
|
_render_mode = 1;
|
||||||
update_ui();
|
update_ui();
|
||||||
_render_mode = 0;
|
_render_mode = 0;
|
||||||
update_objects(); // update world objects
|
|
||||||
update_game();
|
update_game();
|
||||||
|
update_objects(); // update world objects
|
||||||
draw_objects(); // draw world objects
|
draw_objects(); // draw world objects
|
||||||
swap_buffer();
|
swap_buffer();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue