aboutsummaryrefslogtreecommitdiff
path: root/src/GameTick.cpp
diff options
context:
space:
mode:
authorNguyễn Gia Phong <mcsinyx@disroot.org>2021-08-13 11:58:25 +0700
committerNguyễn Gia Phong <mcsinyx@disroot.org>2021-08-13 11:58:25 +0700
commit2dea9b0d96ca308bca0cfa001943b354e352029e (patch)
treef6cd4033540f5fb1c86189682b9a7df45288f91d /src/GameTick.cpp
parent7cdccc2f37d1741572606ec74866da10aef98ecd (diff)
downloadblackshades-2dea9b0d96ca308bca0cfa001943b354e352029e.tar.gz
Extern C initGame
Diffstat (limited to 'src/GameTick.cpp')
-rw-r--r--src/GameTick.cpp6
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();