mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-03-30 10:36:42 +00:00
fixed interior water level
This commit is contained in:
parent
e6303fc3f4
commit
42c5d515e6
2 changed files with 2 additions and 3 deletions
|
@ -22,8 +22,7 @@ void Cell::load(ESMReader &esm)
|
||||||
{
|
{
|
||||||
// Interior cells
|
// Interior cells
|
||||||
|
|
||||||
if (esm.isNextSub("INTV") || esm.isNextSub("WHGT"))
|
esm.getHNT(water, "WHGT", 4);
|
||||||
esm.getHT(water);
|
|
||||||
|
|
||||||
// Quasi-exterior cells have a region (which determines the
|
// Quasi-exterior cells have a region (which determines the
|
||||||
// weather), pure interior cells have ambient lighting
|
// weather), pure interior cells have ambient lighting
|
||||||
|
|
|
@ -114,7 +114,7 @@ struct Cell
|
||||||
ESM_Context context; // File position
|
ESM_Context context; // File position
|
||||||
DATAstruct data;
|
DATAstruct data;
|
||||||
AMBIstruct ambi;
|
AMBIstruct ambi;
|
||||||
int water; // Water level
|
float water; // Water level
|
||||||
int mapColor;
|
int mapColor;
|
||||||
|
|
||||||
void load(ESMReader &esm);
|
void load(ESMReader &esm);
|
||||||
|
|
Loading…
Reference in a new issue