aboutsummaryrefslogtreecommitdiff
path: root/src/localplayer.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/localplayer.h')
-rw-r--r--src/localplayer.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/localplayer.h b/src/localplayer.h
index f372c787d..17434d379 100644
--- a/src/localplayer.h
+++ b/src/localplayer.h
@@ -21,6 +21,9 @@ with this program; if not, write to the Free Software Foundation, Inc.,
#define LOCALPLAYER_HEADER
#include "player.h"
+#include <list>
+
+class ClientEnvironment;
class LocalPlayer : public Player
{
@@ -37,9 +40,9 @@ public:
v3f overridePosition;
- void move(f32 dtime, Map &map, f32 pos_max_d,
- core::list<CollisionInfo> *collision_info);
- void move(f32 dtime, Map &map, f32 pos_max_d);
+ void move(f32 dtime, ClientEnvironment *env, f32 pos_max_d,
+ std::list<CollisionInfo> *collision_info);
+ void move(f32 dtime, ClientEnvironment *env, f32 pos_max_d);
void applyControl(float dtime);