mirror of
https://github.com/rwengine/openrw.git
synced 2024-11-22 02:12:45 +01:00
Load splash
This commit is contained in:
parent
e98cb05c47
commit
04c3b62f01
@ -147,6 +147,9 @@ void RWGame::loadGame(const std::string& savename) {
|
||||
if (!SaveGame::loadGame(state, savename)) {
|
||||
log.error("Game", "Failed to load game");
|
||||
}
|
||||
|
||||
// Set fade splash
|
||||
state.world->data->loadSplash("SPLASH1");
|
||||
}
|
||||
|
||||
void RWGame::startScript(const std::string& name) {
|
||||
@ -615,8 +618,7 @@ void RWGame::render(float alpha, float time) {
|
||||
}
|
||||
RW_PROFILE_END();
|
||||
|
||||
if (!world->isPaused())
|
||||
drawOnScreenText(world.get(), &renderer);
|
||||
if (!world->isPaused()) drawOnScreenText(world.get(), &renderer);
|
||||
}
|
||||
|
||||
void RWGame::renderDebugStats(float time) {
|
||||
|
Loading…
Reference in New Issue
Block a user