More VS2015 fixes

This commit is contained in:
kaetemi 2016-01-15 12:04:06 +01:00
parent a8e56fed23
commit 956eff2b1c
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.
nlassert(block->FreeSpace & mask);
block->FreeSpace&= ~mask;
block->FreeSpace&= (~mask & std::numeric_limits<uint>::max());
// Free the block if necessary.