aboutsummaryrefslogtreecommitdiff
path: root/pixel-client/src/render/misc.rs
diff options
context:
space:
mode:
Diffstat (limited to 'pixel-client/src/render/misc.rs')
-rw-r--r--pixel-client/src/render/misc.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/pixel-client/src/render/misc.rs b/pixel-client/src/render/misc.rs
index 7a631154..77dc52b0 100644
--- a/pixel-client/src/render/misc.rs
+++ b/pixel-client/src/render/misc.rs
@@ -25,7 +25,7 @@ pub struct MiscTextures {
pub interact_target: Sprite,
pub solid: Rect,
pub clouds: Rect,
- pub itembubble: Rect,
+ pub itembubble: Sprite,
}
impl MiscTextures {
@@ -40,7 +40,7 @@ impl MiscTextures {
),
solid: *layout.get("solid+a").unwrap(),
clouds: *layout.get("clouds+a").unwrap(),
- itembubble: *layout.get("itembubble+a").unwrap(),
+ itembubble: Sprite::new(*layout.get("itembubble+a").unwrap(), Vec2::Y * -1., 1.),
}
}
}