More VS2015 fixes

This commit is contained in:
kaetemi 2016-01-15 12:04:06 +01:00
parent a6b1ac4331
commit e9912417bf
3 changed files with 6 additions and 6 deletions

View file

@ -385,7 +385,7 @@ void CTextureDLM::releaseLightMap(uint x, uint y)
// Free this bit in the block. // Free this bit in the block.
nlassert(block->FreeSpace & mask); nlassert(block->FreeSpace & mask);
block->FreeSpace&= ~mask; block->FreeSpace&= (~mask & std::numeric_limits<uint>::max());
// Free the block if necessary. // Free the block if necessary.