diff options
Diffstat (limited to 'pacman-c++/block.cpp')
| -rw-r--r-- | pacman-c++/block.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pacman-c++/block.cpp b/pacman-c++/block.cpp index 9e5e427..7cb77cc 100644 --- a/pacman-c++/block.cpp +++ b/pacman-c++/block.cpp | |||
| @@ -19,5 +19,5 @@ Block::Block(Color::Color color, unsigned int neighbours, QGraphicsItem *parent) | |||
| 19 | 19 | ||
| 20 | void Block::setNeighbours(unsigned int neighbours) | 20 | void Block::setNeighbours(unsigned int neighbours) |
| 21 | { | 21 | { |
| 22 | setSprite(neighbours * SPRITE_OFFSET, 0, SPRITE_WIDTH, SPRITE_HEIGHT); | 22 | setSprite(neighbours * Constants::sprite_offset, 0, Constants::field_size.width, Constants::field_size.height); |
| 23 | } | 23 | } |
