mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-07-06 13:21:35 +00:00
[Client] Fix warnings
This commit is contained in:
parent
b2339f2f9a
commit
52349278e9
4 changed files with 13 additions and 1 deletions
|
@ -27,6 +27,11 @@ mwmp::Cell::Cell(MWWorld::CellStore* cellStore)
|
||||||
updateTimer = 0;
|
updateTimer = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Cell::~Cell()
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
void Cell::updateLocal(bool forceUpdate)
|
void Cell::updateLocal(bool forceUpdate)
|
||||||
{
|
{
|
||||||
if (localActors.empty())
|
if (localActors.empty())
|
||||||
|
|
|
@ -13,6 +13,7 @@ namespace mwmp
|
||||||
public:
|
public:
|
||||||
|
|
||||||
Cell(MWWorld::CellStore* cellStore);
|
Cell(MWWorld::CellStore* cellStore);
|
||||||
|
virtual ~Cell();
|
||||||
|
|
||||||
void updateLocal(bool forceUpdate);
|
void updateLocal(bool forceUpdate);
|
||||||
void updateDedicated(float dt);
|
void updateDedicated(float dt);
|
||||||
|
|
|
@ -23,10 +23,15 @@ mwmp::CellController::CellController()
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
CellController::~CellController()
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
void CellController::updateLocal(bool forceUpdate)
|
void CellController::updateLocal(bool forceUpdate)
|
||||||
{
|
{
|
||||||
// Loop through Cells, deleting inactive ones and updating LocalActors in active ones
|
// Loop through Cells, deleting inactive ones and updating LocalActors in active ones
|
||||||
for (std::map<std::string, mwmp::Cell *>::iterator it = cellsInitialized.begin(); it != cellsInitialized.end();)
|
for (auto it = cellsInitialized.begin(); it != cellsInitialized.end();)
|
||||||
{
|
{
|
||||||
mwmp::Cell *mpCell = it->second;
|
mwmp::Cell *mpCell = it->second;
|
||||||
|
|
||||||
|
|
|
@ -14,6 +14,7 @@ namespace mwmp
|
||||||
public:
|
public:
|
||||||
|
|
||||||
CellController();
|
CellController();
|
||||||
|
virtual ~CellController();
|
||||||
|
|
||||||
void updateLocal(bool forceUpdate);
|
void updateLocal(bool forceUpdate);
|
||||||
void updateDedicated(float dt);
|
void updateDedicated(float dt);
|
||||||
|
|
Loading…
Reference in a new issue