forked from jaildesigner-jailgames/jaildoctors_dilemma
Singleton de ItemTracker
Arreglos menors
This commit is contained in:
@@ -83,7 +83,7 @@ Director::Director(int argc, const char *argv[])
|
||||
Input::init(Asset::get()->get("gamecontrollerdb.txt"));
|
||||
initInput();
|
||||
Debug::init();
|
||||
title_music_ = JA_LoadMusic(Asset::get()->get("title.ogg").c_str());
|
||||
title_music_ = Resource::get()->getMusic("title.ogg");
|
||||
Cheevos::init(Asset::get()->get("cheevos.bin"));
|
||||
}
|
||||
|
||||
@@ -101,8 +101,6 @@ Director::~Director()
|
||||
Resource::destroy();
|
||||
Cheevos::destroy();
|
||||
|
||||
JA_DeleteMusic(title_music_);
|
||||
|
||||
SDL_DestroyRenderer(renderer_);
|
||||
SDL_DestroyWindow(window_);
|
||||
SDL_Quit();
|
||||
|
||||
Reference in New Issue
Block a user