forked from teamnwah/openmw-tes3coop
disabled loading of land normals again, didn't need them after all
This commit is contained in:
parent
5f014f7411
commit
e8bba2b833
2 changed files with 6 additions and 2 deletions
|
@ -84,7 +84,11 @@ void Land::loadData()
|
||||||
{
|
{
|
||||||
mEsm->restoreContext(context);
|
mEsm->restoreContext(context);
|
||||||
|
|
||||||
mEsm->getHNExact(landData->normals, sizeof(VNML), "VNML");
|
//mEsm->getHNExact(landData->normals, sizeof(VNML), "VNML");
|
||||||
|
if (mEsm->isNextSub("VNML"))
|
||||||
|
{
|
||||||
|
mEsm->skipHSubSize(12675);
|
||||||
|
}
|
||||||
|
|
||||||
VHGT rawHeights;
|
VHGT rawHeights;
|
||||||
|
|
||||||
|
|
|
@ -60,7 +60,7 @@ struct Land
|
||||||
{
|
{
|
||||||
float heightOffset;
|
float heightOffset;
|
||||||
float heights[LAND_NUM_VERTS];
|
float heights[LAND_NUM_VERTS];
|
||||||
float normals[LAND_NUM_VERTS * 3];
|
//float normals[LAND_NUM_VERTS * 3];
|
||||||
uint16_t textures[LAND_NUM_TEXTURES];
|
uint16_t textures[LAND_NUM_TEXTURES];
|
||||||
|
|
||||||
bool usingColours;
|
bool usingColours;
|
||||||
|
|
Loading…
Reference in a new issue