mirror of
https://github.com/italicsjenga/agb.git
synced 2025-01-11 09:31:34 +11:00
move commit
This commit is contained in:
parent
cdba323b39
commit
29c74f6286
|
@ -48,8 +48,8 @@ fn all_sprites(gfx: &ObjectController) {
|
||||||
for (i, obj) in objs.iter_mut().enumerate() {
|
for (i, obj) in objs.iter_mut().enumerate() {
|
||||||
let this_image = (image + i * SPRITES.len() / objs_len) % SPRITES.len();
|
let this_image = (image + i * SPRITES.len() / objs_len) % SPRITES.len();
|
||||||
obj.set_sprite(gfx.sprite(&SPRITES[this_image]));
|
obj.set_sprite(gfx.sprite(&SPRITES[this_image]));
|
||||||
gfx.commit();
|
|
||||||
}
|
}
|
||||||
|
gfx.commit();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue