Use CMake's Android generators to crosscompile
This commit is contained in:
committed by
Alexander Harkness
parent
c59ff9b431
commit
8c6d0b51c7
@@ -354,10 +354,10 @@ bool cWorld::SetSpawn(double a_X, double a_Y, double a_Z)
|
||||
void cWorld::InitializeSpawn(void)
|
||||
{
|
||||
// For the debugging builds, don't make the server build too much world upon start:
|
||||
#if defined(_DEBUG) || defined(ANDROID_NDK)
|
||||
const int DefaultViewDist = 9;
|
||||
#if defined(_DEBUG) || defined(ANDROID)
|
||||
const int DefaultViewDist = 9;
|
||||
#else
|
||||
const int DefaultViewDist = 20; // Always prepare an area 20 chunks across, no matter what the actual cClientHandle::VIEWDISTANCE is
|
||||
const int DefaultViewDist = 20; // Always prepare an area 20 chunks across, no matter what the actual cClientHandle::VIEWDISTANCE is
|
||||
#endif // _DEBUG
|
||||
|
||||
if (!m_IsSpawnExplicitlySet)
|
||||
|
||||
Reference in New Issue
Block a user