diff --git a/apps/openmw/mwclass/light.cpp b/apps/openmw/mwclass/light.cpp index 906ae8a1c..a593eb295 100644 --- a/apps/openmw/mwclass/light.cpp +++ b/apps/openmw/mwclass/light.cpp @@ -216,7 +216,6 @@ namespace MWClass { ensureCustomData(ptr); - ESM::CellRef &ref = ptr.getCellRef(); return dynamic_cast (*ptr.getRefData().getCustomData()).mTime; }