fix spell toe, wriggle and kurumi spell bg

This commit is contained in:
laochailan 2021-01-31 21:23:38 +01:00
parent 1d1dd59b80
commit bc6f41244d
No known key found for this signature in database
GPG key ID: 49BE98017AFBC943
2 changed files with 3 additions and 3 deletions

View file

@ -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

View file

@ -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
);
}