Diffstat (limited to 'noncore/games/parashoot/bullet.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/games/parashoot/bullet.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/noncore/games/parashoot/bullet.cpp b/noncore/games/parashoot/bullet.cpp index 584f564..1f02251 100644 --- a/noncore/games/parashoot/bullet.cpp +++ b/noncore/games/parashoot/bullet.cpp @@ -24,5 +24,6 @@ #include "helicopter.h" -#include <qpe/resource.h> +#include <opie2/oresource.h> + #include <qpe/qmath.h> @@ -36,5 +37,5 @@ Bullet::Bullet(QCanvas* canvas, double angle, int cannonx, int cannony) : bang("collide01") { - QCanvasPixmapArray* bulletarray = new QCanvasPixmapArray(Resource::findPixmap("parashoot/bullet")); + QCanvasPixmapArray* bulletarray = new QCanvasPixmapArray(Opie::Core::OResource::findPixmap("parashoot/bullet")); setSequence(bulletarray); if (nobullets < limit) { |