From c061fb7a1df19f58277679de4203c980df8bf7e0 Mon Sep 17 00:00:00 2001 From: Marek Moeckel Date: Mon, 26 Sep 2005 10:52:46 +0000 Subject: [PATCH] small fixes SVN-Revision: 2790 --- src/object/electrifier.hpp | 1 + src/object/player.cpp | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) 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); } -- 2.11.0