X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Fspecial.cpp;h=227251270a904b90f0e7808280da9dd5e2d205cd;hb=63934f5f4c15f059c9b60499575870ebb7c923a0;hp=8016dc549b48bc0d634d3e5cb0bd9b7e39de9e0f;hpb=b3c5f0ece37b618744a07ca52298e7e6da9f0d01;p=supertux.git diff --git a/src/special.cpp b/src/special.cpp index 8016dc549..227251270 100644 --- a/src/special.cpp +++ b/src/special.cpp @@ -40,7 +40,7 @@ Sprite* img_1up; #define GROWUP_SPEED 1.0f void -Bullet::init(float x, float y, float xm, int dir) +Bullet::init(float x, float y, float xm, Direction dir) { base.width = 4; base.height = 4; @@ -124,7 +124,7 @@ Bullet::collision(int c_object) } void -Upgrade::init(float x_, float y_, int dir_, UpgradeKind kind_) +Upgrade::init(float x_, float y_, Direction dir_, UpgradeKind kind_) { kind = kind_; dir = dir_;