Fixed using smx where I should have used smy.
This commit is contained in:
parent
02c93d8b52
commit
4a9c99f4bc
|
@ -243,7 +243,7 @@ void doCollectables()
|
|||
blit(collectable->image, (int)collectable->x, (int)collectable->y);
|
||||
|
||||
collectable->x += engine.ssx + engine.smx;
|
||||
collectable->y += engine.ssy + engine.smx;
|
||||
collectable->y += engine.ssy + engine.smy;
|
||||
collectable->x += collectable->dx;
|
||||
collectable->y += collectable->dy;
|
||||
|
||||
|
|
Loading…
Reference in New Issue