Fix debug builds

This commit is contained in:
yvt 2019-08-08 00:37:24 +09:00
parent f855aff5d1
commit 93e8a30f84
No known key found for this signature in database
GPG Key ID: 48F2768FA8D07C92

View File

@ -78,11 +78,11 @@ namespace spades {
return;
SPAssert(x >= 0);
SPAssert(x < map->Width());
SPAssert(x < map.Width());
SPAssert(y >= 0);
SPAssert(y < map->Height());
SPAssert(y < map.Height());
SPAssert(z >= 0);
SPAssert(z < map->Depth());
SPAssert(z < map.Depth());
int chunkX = x >> ChunkBits;
int chunkY = y >> ChunkBits;