mirror of
https://github.com/GabsPuNs/Project-Zenith-Main.git
synced 2026-07-10 08:08:09 +00:00
Add RmlUi
This commit is contained in:
@@ -410,11 +410,7 @@ void BiomeSource::update()
|
||||
//#define DEBUG_SEEDS 50
|
||||
|
||||
// 4J added - find a seed for this biomesource that matches certain criteria
|
||||
#ifdef __PSVITA__
|
||||
int64_t BiomeSource::findSeed(LevelType *generator, bool* pServerRunning) // MGH - added pRunning, so we can early out of this on Vita as it can take up to 60 secs
|
||||
#else
|
||||
int64_t BiomeSource::findSeed(LevelType *generator)
|
||||
#endif
|
||||
int64_t BiomeSource::findSeed(LevelType *generator, bool* pServerRunning)
|
||||
{
|
||||
|
||||
int64_t bestSeed = 0;
|
||||
@@ -469,11 +465,7 @@ int64_t BiomeSource::findSeed(LevelType *generator)
|
||||
tryCount++;
|
||||
|
||||
mcprogress->progressStagePercentage( tryCount % 100 );
|
||||
#ifdef __PSVITA__
|
||||
} while (!matchFound && *pServerRunning);
|
||||
#else
|
||||
} while (!matchFound);
|
||||
#endif
|
||||
} while (!matchFound && (pServerRunning == nullptr || *pServerRunning));
|
||||
|
||||
// Clean up
|
||||
delete pr;
|
||||
|
||||
Reference in New Issue
Block a user