mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-29 23:07:48 +02:00
show loading indicator when starting local server
single player or hosting a multiplayer game
This commit is contained in:
@@ -441,7 +441,6 @@ int main(int argc, char * argv[])
|
||||
|
||||
|
||||
#ifndef VCMI_NO_THREADED_LOAD
|
||||
// todo ios
|
||||
#ifdef VCMI_ANDROID // android loads the data quite slowly so we display native progressbar to prevent having only black screen for few seconds
|
||||
{
|
||||
CAndroidVMHelper vmHelper;
|
||||
@@ -1322,7 +1321,6 @@ static void handleEvent(SDL_Event & ev)
|
||||
{
|
||||
if((ev.type==SDL_QUIT) ||(ev.type == SDL_KEYDOWN && ev.key.keysym.sym==SDLK_F4 && (ev.key.keysym.mod & KMOD_ALT)))
|
||||
{
|
||||
// todo ios
|
||||
#ifdef VCMI_ANDROID
|
||||
handleQuit(false);
|
||||
#else
|
||||
|
||||
Reference in New Issue
Block a user