Fixed graphical glitch with kingsnail regenerating shell
This commit is contained in:
parent
922f3d09a5
commit
d4cd4cbc79
4
shared.c
4
shared.c
|
@ -1893,7 +1893,11 @@ void drawsprite(sprite_t *s) {
|
|||
if (pct > 1) pct = 1;
|
||||
shellimg = rotozoomSurfaceXY(srcimg,0, pct, pct ,0);
|
||||
// blit it
|
||||
if (s->dir == 1) {
|
||||
newarea.x = s->x - (shellimg->w/2) - 21;
|
||||
} else {
|
||||
newarea.x = s->x - (shellimg->w/2) + 21;
|
||||
}
|
||||
newarea.y = s->y - (shellimg->h/2) - 28;
|
||||
newarea.w = 0;
|
||||
newarea.h = 0;
|
||||
|
|
Loading…
Reference in New Issue