fix spell toe, wriggle and kurumi spell bg
This commit is contained in:
parent
1d1dd59b80
commit
bc6f41244d
2 changed files with 3 additions and 3 deletions
|
@ -2,8 +2,8 @@
|
|||
texture = stage6/spellbg_toe
|
||||
region_x = 0
|
||||
region_y = 0
|
||||
region_w = 3200
|
||||
region_h = 3200
|
||||
region_w = 1
|
||||
region_h = 1
|
||||
w = 800
|
||||
h = 800
|
||||
|
||||
|
|
|
@ -145,7 +145,7 @@ static void begin_draw_sprite(float x, float y, float scale_x, float scale_y, Sp
|
|||
|
||||
begin_draw_texture(
|
||||
(FloatRect){ x + o.x * scale_x, y + o.y * scale_y, spr->w * scale_x, spr->h * scale_y },
|
||||
(FloatRect){ spr->tex_area.x, spr->tex_area.y, spr->tex_area.w, spr->tex_area.h },
|
||||
sprite_denormalized_tex_coords(spr),
|
||||
spr->tex
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue