Get rid of MSVC's __int64
Use either int64_t, uint64_t or long long and unsigned long long, defined as per C++11 standard
This commit is contained in:
@@ -20,7 +20,7 @@ using namespace std;
|
||||
double radius = random->nextDouble() * 4 + 2;
|
||||
double fuss = random->nextDouble() * 0.6;
|
||||
|
||||
__int64 seed = random->nextLong();
|
||||
int64_t seed = random->nextLong();
|
||||
random->setSeed(seed);
|
||||
vector<TilePos *> toRemove;
|
||||
|
||||
@@ -69,14 +69,14 @@ using namespace std;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
AUTO_VAR(itEnd, toRemove.end());
|
||||
for (AUTO_VAR(it, toRemove.begin()); it != itEnd; it++)
|
||||
{
|
||||
TilePos *p = *it; //toRemove[i];
|
||||
level->setTileNoUpdate(p->x, p->y, p->z, 0);
|
||||
}
|
||||
|
||||
|
||||
itEnd = toRemove.end();
|
||||
for (AUTO_VAR(it, toRemove.begin()); it != itEnd; it++)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user