fixed interior water level

actorid
scrawl 13 years ago
parent e6303fc3f4
commit 42c5d515e6

@ -22,8 +22,7 @@ void Cell::load(ESMReader &esm)
{
// Interior cells
if (esm.isNextSub("INTV") || esm.isNextSub("WHGT"))
esm.getHT(water);
esm.getHNT(water, "WHGT", 4);
// Quasi-exterior cells have a region (which determines the
// weather), pure interior cells have ambient lighting

@ -114,7 +114,7 @@ struct Cell
ESM_Context context; // File position
DATAstruct data;
AMBIstruct ambi;
int water; // Water level
float water; // Water level
int mapColor;
void load(ESMReader &esm);

Loading…
Cancel
Save