From 92ab292e18ec0379c9218dc0fc1458a7823c1efd Mon Sep 17 00:00:00 2001 From: scrawl Date: Sun, 9 Nov 2014 04:50:54 +0100 Subject: [PATCH] Make MODL subrecord for light records optional (Fixes #2114) --- components/esm/loadligh.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/esm/loadligh.cpp b/components/esm/loadligh.cpp index c02bb46b6..f88ff09d6 100644 --- a/components/esm/loadligh.cpp +++ b/components/esm/loadligh.cpp @@ -10,7 +10,7 @@ namespace ESM void Light::load(ESMReader &esm) { - mModel = esm.getHNString("MODL"); + mModel = esm.getHNOString("MODL"); mName = esm.getHNOString("FNAM"); mIcon = esm.getHNOString("ITEX"); assert(sizeof(mData) == 24);