summaryrefslogtreecommitdiff
path: root/noncore/games/parashoot/bullet.cpp
Side-by-side diff
Diffstat (limited to 'noncore/games/parashoot/bullet.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/games/parashoot/bullet.cpp5
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
@@ -25,3 +25,4 @@
-#include <qpe/resource.h>
+#include <opie2/oresource.h>
+
#include <qpe/qmath.h>
@@ -37,3 +38,3 @@ Bullet::Bullet(QCanvas* canvas, double angle, int cannonx, int cannony) :
{
- QCanvasPixmapArray* bulletarray = new QCanvasPixmapArray(Resource::findPixmap("parashoot/bullet"));
+ QCanvasPixmapArray* bulletarray = new QCanvasPixmapArray(Opie::Core::OResource::findPixmap("parashoot/bullet"));
setSequence(bulletarray);