forked from mirror/openmw-tes3mp
[Server] Use variable instead method in Player.
This commit is contained in:
parent
ec4d016100
commit
78f5a760f4
1 changed files with 2 additions and 2 deletions
|
@ -147,7 +147,7 @@ void Player::sendToLoaded(mwmp::PlayerPacket *myPacket)
|
|||
{
|
||||
std::list <Player*> plList;
|
||||
|
||||
for (auto cell : *getCells())
|
||||
for (auto cell : cells)
|
||||
for (auto pl : *cell)
|
||||
plList.push_back(pl);
|
||||
|
||||
|
@ -165,7 +165,7 @@ void Player::forEachLoaded(std::function<void(Player *pl, Player *other)> func)
|
|||
{
|
||||
std::list <Player*> plList;
|
||||
|
||||
for (auto cell : *getCells())
|
||||
for (auto cell : cells)
|
||||
for (auto pl : *cell)
|
||||
plList.push_back(pl);
|
||||
|
||||
|
|
Loading…
Reference in a new issue