summaryrefslogtreecommitdiffstats
path: root/source/Player.h
diff options
context:
space:
mode:
Diffstat (limited to 'source/Player.h')
-rw-r--r--source/Player.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/source/Player.h b/source/Player.h
index c8425a128..378c5d782 100644
--- a/source/Player.h
+++ b/source/Player.h
@@ -81,10 +81,12 @@ public:
void LoginSetGameMode( eGameMode a_GameMode );
void SetIP(const AString & a_IP);
- // Tries to move to a new position, with collision checks and stuff
+ /// Tries to move to a new position, with collision checks and stuff
virtual void MoveTo( const Vector3d & a_NewPos ); // tolua_export
- cWindow* GetWindow() { return m_CurrentWindow; }
+ cWindow * GetWindow(void) { return m_CurrentWindow; }
+ const cWindow * GetWindow(void) const { return m_CurrentWindow; }
+
void OpenWindow( cWindow* a_Window );
void CloseWindow(char a_WindowType);