From: Marek Moeckel Date: Mon, 26 Sep 2005 10:52:46 +0000 (+0000) Subject: small fixes X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=c061fb7a1df19f58277679de4203c980df8bf7e0;p=supertux.git small fixes SVN-Revision: 2790 --- diff --git a/src/object/electrifier.hpp b/src/object/electrifier.hpp index 26d957948..8834cbfc2 100644 --- a/src/object/electrifier.hpp +++ b/src/object/electrifier.hpp @@ -21,6 +21,7 @@ #include "resources.hpp" #include "game_object.hpp" #include "timer.hpp" +#include //Changes all tiles with the given ID to a new one for a given amount of time, then removes itself //Used by the Kugelblitz to electrify water - can be used for other effects, too diff --git a/src/object/player.cpp b/src/object/player.cpp index 4242a168c..5c48e8cd6 100644 --- a/src/object/player.cpp +++ b/src/object/player.cpp @@ -941,5 +941,5 @@ Player::activate() void Player::walk(float speed) { - physic.set_velocity_x(WALK_SPEED); + physic.set_velocity_x(speed); }