mirror of
https://github.com/smartcmd/MinecraftConsoles.git
synced 2026-05-12 12:13:51 +00:00
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:
parent
d6ec138710
commit
d63f79325f
308 changed files with 5371 additions and 5379 deletions
|
|
@ -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++)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue