diff --git a/shared.c b/shared.c index 6307eff..e54cefa 100644 --- a/shared.c +++ b/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 - newarea.x = s->x - (shellimg->w/2) - 21; + 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;