[Client] Use protected member instead local variable

0.6.1
Koncord 8 years ago
parent 25fef1a7b8
commit 8128a5c39c

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

Loading…
Cancel
Save