Commit 9d6c5c2c authored by noname's avatar noname

reset code

parent 3f7bc660
...@@ -46,9 +46,9 @@ int main(int argc, char* argv[]) { ...@@ -46,9 +46,9 @@ int main(int argc, char* argv[]) {
#endif #endif
evthread_use_pthreads(); evthread_use_pthreads();
auto game = new ygo::Game; auto game = new ygo::Game;
if(ygo::mainGame != nullptr){ // if(ygo::mainGame != nullptr){
delete ygo::mainGame; // delete ygo::mainGame;
} // }
ygo::mainGame = game; ygo::mainGame = game;
#ifdef _IRR_ANDROID_PLATFORM_ #ifdef _IRR_ANDROID_PLATFORM_
android::InitOptions *options = android::getInitOptions(app); android::InitOptions *options = android::getInitOptions(app);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment