1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-30 16:45:33 +00:00

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:
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;