From b7ea110632a31c341bc8ff0b18e1e63cfebdeab4 Mon Sep 17 00:00:00 2001 From: Marc Zinnschlag Date: Thu, 23 Feb 2012 12:33:50 +0100 Subject: [PATCH] manually created objects were initialised incompletely --- apps/openmw/mwworld/manualref.hpp | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/openmw/mwworld/manualref.hpp b/apps/openmw/mwworld/manualref.hpp index b4d3f7007..f8bc7d983 100644 --- a/apps/openmw/mwworld/manualref.hpp +++ b/apps/openmw/mwworld/manualref.hpp @@ -82,6 +82,7 @@ namespace MWWorld // initialise ESM::CellRef& cellRef = mPtr.getCellRef(); + cellRef.refID = name; cellRef.refnum = -1; cellRef.scale = 1; cellRef.factIndex = 0;