fix(Core): Missing updates for creatures; disable Travis modules check (#2457)

This commit is contained in:
Stoabrogga
2019-11-26 09:49:58 +01:00
committed by GitHub
parent 3700e91436
commit a8ee996431
5 changed files with 46 additions and 45 deletions

View File

@@ -141,22 +141,13 @@ namespace Trinity
struct ObjectUpdater
{
uint32 i_timeDiff;
explicit ObjectUpdater(const uint32 diff) : i_timeDiff(diff) {}
bool i_largeOnly;
explicit ObjectUpdater(const uint32 diff, bool largeOnly) : i_timeDiff(diff), i_largeOnly(largeOnly) {}
template<class T> void Visit(GridRefManager<T> &m);
void Visit(PlayerMapType &) {}
void Visit(CorpseMapType &) {}
};
struct LargeObjectUpdater
{
uint32 i_timeDiff;
explicit LargeObjectUpdater(const uint32 diff) : i_timeDiff(diff) {}
template<class T> void Visit(GridRefManager<T> &m);
void Visit(GameObjectMapType &) {}
void Visit(DynamicObjectMapType &) {}
void Visit(CorpseMapType &) {}
};
// SEARCHERS & LIST SEARCHERS & WORKERS
// WorldObject searchers & workers