Skip to content

Commit

Permalink
Fix shift left bug
Browse files Browse the repository at this point in the history
  • Loading branch information
jowin202 committed Dec 20, 2023
1 parent 7cc17cf commit a3c4b5d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sprite.h
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ class Sprite : public QGraphicsItem
tmp[y] = this->get_bit(0,y);
for (int x = 0; x < 23; x++)
{
for (int y = 0; y < 20; y++)
for (int y = 0; y < 21; y++)
{
this->set_bit(x,y, this->get_bit(x+1,y));
}
Expand Down

0 comments on commit a3c4b5d

Please sign in to comment.