• R/O
  • SSH

silny-kombat: Commit

Mercurial repo for silny-kombat project


Commit MetaInfo

Revision707f636fe7929ca67da33140d16c4dabd45b1c1b (tree)
Time2021-09-08 05:17:59
AuthorPiotr Kozka <piotoor@gmai...>
CommiterPiotr Kozka

Log Message

Fixed compilation warnings in sprite_rendering.rs

Change Summary

Incremental Difference

diff -r 679926b6bf93 -r 707f636fe792 src/sprite_rendering.rs
--- a/src/sprite_rendering.rs Tue Sep 07 22:09:17 2021 +0200
+++ b/src/sprite_rendering.rs Tue Sep 07 22:17:59 2021 +0200
@@ -16,7 +16,7 @@
1616 //fn new(new_sprite: &'a Sprite) -> Self{
1717 //pub fn new(new_sprite: &'a mut Sprite<'a>) -> Self{
1818 pub fn new(textures: &'a [&SfBox<Texture>]) -> Self{
19- let mut sprite = Sprite::new();
19+ let sprite = Sprite::new();
2020 CharacterSprite{
2121 sprite,
2222 textures
Show on old repository browser