Skip to content

Commit 8d5a79f

Browse files
committed
update for windows builds, fixed physics crashing
1 parent 4b722a8 commit 8d5a79f

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/Game.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -57,14 +57,14 @@ class Game:
5757
Controller* m_pController = nullptr;
5858
Pipeline* m_pPipeline = nullptr;
5959
Cache<Resource, std::string>* m_pResources = nullptr;
60+
std::shared_ptr<Physics> m_pPhysics;
6061

6162
std::shared_ptr<Node> m_pRoot;
6263
std::shared_ptr<Camera> m_pCamera;
6364
std::shared_ptr<Node> m_pOrthoRoot;
6465
std::shared_ptr<Camera> m_pOrthoCamera;
6566

6667
std::shared_ptr<Sound> m_pMusic;
67-
std::shared_ptr<Physics> m_pPhysics;
6868

6969
std::shared_ptr<Player> m_pPlayer;
7070

src/Main.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@
99
using namespace std;
1010
using namespace kit;
1111

12-
int main(int argc, const char** argv)
12+
int main(int argc, char* argv[])
1313
{
1414

15-
Args args(argc, argv);
15+
Args args(argc, (const char**)argv);
1616
args.set("mod", PACKAGE);
1717
args.set("title", PACKAGE);
1818
args.set("loading_bg", "0000ff");

0 commit comments

Comments
 (0)