- Blood: fixed typo in map loader that overwrote the floor y panning offset with its fractional part.

This commit is contained in:
Christoph Oelckers 2021-03-03 13:26:58 +01:00
parent 6368db7d9e
commit 57a6bfcdcd

View file

@ -738,7 +738,7 @@ void dbLoadMap(const char *pPath, int *pX, int *pY, int *pZ, short *pAngle, shor
pSector->floorxpan_ += bitReader.readUnsigned(8) / 256.f;
pXSector->damageType = bitReader.readUnsigned(3);
pXSector->floorpal = bitReader.readUnsigned(4);
pSector->floorypan_ = bitReader.readUnsigned(8) / 256.f;
pSector->floorypan_ += bitReader.readUnsigned(8) / 256.f;
pXSector->locked = bitReader.readUnsigned(1);
pXSector->windVel = bitReader.readUnsigned(10);
pXSector->windAng = bitReader.readUnsigned(11);