getWaterLevel use CellStore ; attempted fix for morrowind without tribunal

This commit is contained in:
scrawl 2012-03-30 10:12:28 +02:00
parent 79c2a2e465
commit d5c49fa036
2 changed files with 10 additions and 4 deletions

View file

@ -142,8 +142,8 @@ namespace MWScript
InterpreterContext& context
= static_cast<InterpreterContext&> (runtime.getContext());
const ESM::Cell *cell = context.getWorld().getPlayer().getPlayer().getCell()->cell;
runtime.push (cell->water);
MWWorld::Ptr::CellStore *cell = context.getWorld().getPlayer().getPlayer().getCell();
runtime.push (cell->mWaterLevel);
}
};