From 746c3dc297ee983332c4dccfcf2936b51d15c17a Mon Sep 17 00:00:00 2001 From: Jacob Essex Date: Fri, 11 Nov 2011 11:25:01 +0000 Subject: [PATCH] Added some minor documentation --- apps/openmw/mwworld/refdata.hpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/apps/openmw/mwworld/refdata.hpp b/apps/openmw/mwworld/refdata.hpp index 615081e7e..419bb2663 100644 --- a/apps/openmw/mwworld/refdata.hpp +++ b/apps/openmw/mwworld/refdata.hpp @@ -44,6 +44,9 @@ namespace MWWorld ESM::Position mPosition; public: + /// @param cr Used to copy constant data such as position into this class where it can + /// be altered without effecting the original data. This makes it possible + /// to reset the position as the orignal data is still held in the CellRef RefData(const ESMS::CellRef& cr) : mHasLocals (false), mEnabled (true), mCount (1), mPosition(cr.pos) {}