Fix: Bit shifting of the 32-bit value with a subsequent expansion to the 64-bit type.

We now shift the 64-bit value, which is now treated correctly.
This commit is contained in:
bank 2014-05-06 12:37:53 +04:00
parent 6275942acb
commit 5c986f755a
2 changed files with 3 additions and 3 deletions

View file

@ -849,7 +849,7 @@ void TerrCell::_updateMaterials()
if ( index == U8_MAX || index > 63 )
continue;
mMaterials |= (U64)(1<<index);
mMaterials |= (U64)((U64)1<<index);
}
}