From 8128a5c39cd07c020d999a60ebcc618354ee1d1e Mon Sep 17 00:00:00 2001 From: Koncord Date: Tue, 18 Apr 2017 13:15:31 +0800 Subject: [PATCH] [Client] Use protected member instead local variable --- apps/openmw/mwmp/processors/world/BaseObjectProcessor.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/openmw/mwmp/processors/world/BaseObjectProcessor.hpp b/apps/openmw/mwmp/processors/world/BaseObjectProcessor.hpp index d3092f5bd..a7410f56d 100644 --- a/apps/openmw/mwmp/processors/world/BaseObjectProcessor.hpp +++ b/apps/openmw/mwmp/processors/world/BaseObjectProcessor.hpp @@ -17,7 +17,7 @@ namespace mwmp public: virtual void Do(WorldPacket &packet, WorldEvent &event) { - MWWorld::CellStore *ptrCellStore = Main::get().getCellController()->getCellStore(event.cell); + ptrCellStore = Main::get().getCellController()->getCellStore(event.cell); if (!ptrCellStore) return;