diff options
| author | Nguyễn Gia Phong <mcsinyx@disroot.org> | 2021-08-13 11:58:25 +0700 |
|---|---|---|
| committer | Nguyễn Gia Phong <mcsinyx@disroot.org> | 2021-08-13 11:58:25 +0700 |
| commit | 2dea9b0d96ca308bca0cfa001943b354e352029e (patch) | |
| tree | f6cd4033540f5fb1c86189682b9a7df45288f91d /src/GameTick.cpp | |
| parent | 7cdccc2f37d1741572606ec74866da10aef98ecd (diff) | |
| download | blackshades-2dea9b0d96ca308bca0cfa001943b354e352029e.tar.gz | |
Extern C initGame
Diffstat (limited to 'src/GameTick.cpp')
| -rw-r--r-- | src/GameTick.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/GameTick.cpp b/src/GameTick.cpp index 8050496..483f0de 100644 --- a/src/GameTick.cpp +++ b/src/GameTick.cpp @@ -151,7 +151,7 @@ void Game::handleMenu(unsigned char* theKeyMap) if (!gameinprogress) { mission = 0; - InitGame(); + initGame(this); } MoveMouse(oldmouseloc.h, oldmouseloc.v, &mouseloc); @@ -444,7 +444,7 @@ void Game::Tick() saveHighScore(); } else { updateSong(); - InitGame(); + initGame(this); } } @@ -456,7 +456,7 @@ void Game::Tick() alSourcePlay(gSourceID[soulinsound]); updateSong(); - InitGame(); + initGame(this); } sprites.DoStuff(); |
