Merge pull request #200 from TES3MP/tes3mp-introduce-Client-processors

[Client] Use protected member instead local variable
This commit is contained in:
Stanislav Zhukov 2017-04-18 13:16:57 +08:00 committed by GitHub
commit ad62968397

View file

@ -17,7 +17,7 @@ namespace mwmp
public: public:
virtual void Do(WorldPacket &packet, WorldEvent &event) 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; if (!ptrCellStore) return;