1
0
Fork 0
mirror of https://github.com/doukutsu-rs/doukutsu-rs synced 2024-11-26 23:33:01 +00:00

Correct layering on damage numbers

This commit is contained in:
dawnDus 2022-01-23 19:51:18 -05:00
parent e1b33aa0e9
commit 7b5d4c367c
No known key found for this signature in database
GPG key ID: 972AABDE81848F21

View file

@ -1778,8 +1778,6 @@ impl Scene for GameScene {
self.whimsical_star.draw(state, ctx, &self.frame)?; self.whimsical_star.draw(state, ctx, &self.frame)?;
} }
self.draw_npc_popup(state, ctx)?;
self.water_renderer.draw(state, ctx, &self.frame)?; self.water_renderer.draw(state, ctx, &self.frame)?;
self.tilemap.draw(state, ctx, &self.frame, TileLayer::Foreground, stage_textures_ref, &self.stage)?; self.tilemap.draw(state, ctx, &self.frame, TileLayer::Foreground, stage_textures_ref, &self.stage)?;
self.tilemap.draw(state, ctx, &self.frame, TileLayer::Snack, stage_textures_ref, &self.stage)?; self.tilemap.draw(state, ctx, &self.frame, TileLayer::Snack, stage_textures_ref, &self.stage)?;
@ -1787,6 +1785,7 @@ impl Scene for GameScene {
self.draw_carets(state, ctx)?; self.draw_carets(state, ctx)?;
self.player1.popup.draw(state, ctx, &self.frame)?; self.player1.popup.draw(state, ctx, &self.frame)?;
self.player2.popup.draw(state, ctx, &self.frame)?; self.player2.popup.draw(state, ctx, &self.frame)?;
self.draw_npc_popup(state, ctx)?;
if !state.control_flags.credits_running() if !state.control_flags.credits_running()
&& state.settings.shader_effects && state.settings.shader_effects