diff --git a/Code/GameLogic/IGame.h b/Code/GameLogic/IGame.h index 6982e357..4d43a1e4 100644 --- a/Code/GameLogic/IGame.h +++ b/Code/GameLogic/IGame.h @@ -4,16 +4,16 @@ #define IGAME_H #if defined GAME_DLL_EXPORT -#define DLL_USAGE __declspec(dllexport) +#define GAME_DLL_USAGE __declspec(dllexport) #else -#define DLL_USAGE __declspec(dllimport) +#define GAME_DLL_USAGE __declspec(dllimport) #endif namespace GameLogic { class Game; - class DLL_USAGE IGame + class GAME_DLL_USAGE IGame { private: Game* gameModule; diff --git a/Code/GameLogic/Player.cpp b/Code/GameLogic/Player.cpp index 37042f6c..67cbf52e 100644 --- a/Code/GameLogic/Player.cpp +++ b/Code/GameLogic/Player.cpp @@ -46,7 +46,7 @@ Player::Player(void) { life = 10; - //UniquePointer rigidBody = API::Instance().CreateSimpleRigidBody(); + UniquePointer rigidBody = API::Instance().CreateSimpleRigidBody(); //ref = API::Instance().AddObject(rigidBody); ////ref = API::Instance().AddObject(API::Instance().CreateSimpleRigidBody()); //const ICustomBody* rB;