diff options
| author | manuel <manuel@mausz.at> | 2011-04-06 15:15:03 +0200 |
|---|---|---|
| committer | manuel <manuel@mausz.at> | 2011-04-06 15:15:03 +0200 |
| commit | cbc0da21f393dc7bf2a11beaf1314c9dcaeb0999 (patch) | |
| tree | 534fee860ef8f0064425f98bbbb1febb7335f820 /pacman-c++/block.cpp | |
| parent | 2b3210e6d19e32b7746e0e1cdf22035ce508ca8a (diff) | |
| parent | dce91729ff119ce6e00340f67297ca9e3e72110c (diff) | |
| download | foop-cbc0da21f393dc7bf2a11beaf1314c9dcaeb0999.tar.gz foop-cbc0da21f393dc7bf2a11beaf1314c9dcaeb0999.tar.bz2 foop-cbc0da21f393dc7bf2a11beaf1314c9dcaeb0999.zip | |
Merge branch 'master' of ssh://manuel.mausz.at/foop
Conflicts:
pacman-c++/actor.cpp
pacman-c++/constants.h
pacman-c++/mainwidget.cpp
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 | } |
