More VS2015 fixes

--HG--
branch : develop
This commit is contained in:
kaetemi 2016-01-15 12:04:06 +01:00
parent 3632ae4e64
commit da02779588
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.