[IMaterial] Fix water

This commit is contained in:
momo5502 2016-12-31 15:26:33 +01:00
parent 7135ef2a60
commit aafa121ff1

View File

@ -75,6 +75,7 @@ namespace Assets
if (material->textureTable[i].semantic == SEMANTIC_WATER_MAP)
{
material->textureTable[i].info.water = builder->getAllocator()->allocate<Game::water_t>();
material->textureTable[i].info.water->writable.floatTime = reader.read<float>();
material->textureTable[i].info.water->M = reader.read<int>();
material->textureTable[i].info.water->N = reader.read<int>();