diff --git a/source/game/game.cpp b/source/game/game.cpp index 29c590faa..61c42f410 100644 --- a/source/game/game.cpp +++ b/source/game/game.cpp @@ -123,3 +123,9 @@ int CGameScene::readyToShutdown() } /*****************************************************************************/ +CPlayer * CGameScene::getPlayer() +{ + return( m_player ); +} + +/*****************************************************************************/ diff --git a/source/game/game.h b/source/game/game.h index 6e4ad81ea..c8f1e0940 100644 --- a/source/game/game.h +++ b/source/game/game.h @@ -30,6 +30,7 @@ virtual ~CGameScene() {;} char *getSceneName() {return "Game";} static MATRIX *GetCamMtx() {return(&CamMtx);} + class CPlayer *getPlayer(); private: