mirror of
https://github.com/mangosfour/server.git
synced 2025-12-28 04:37:04 +00:00
[Sync] Some minor project sync
This commit is contained in:
parent
7332173b6e
commit
461923f632
35 changed files with 3690 additions and 1585 deletions
|
|
@ -130,7 +130,7 @@ class Grid
|
|||
*/
|
||||
bool AddGridObject(SPECIFIC_OBJECT* obj)
|
||||
{
|
||||
if (obj->isActiveObject())
|
||||
if (obj->IsActiveObject())
|
||||
{ m_activeGridObjects.insert(obj); }
|
||||
|
||||
return i_container.template insert<SPECIFIC_OBJECT>(obj);
|
||||
|
|
@ -145,7 +145,7 @@ class Grid
|
|||
*/
|
||||
bool RemoveGridObject(SPECIFIC_OBJECT* obj)
|
||||
{
|
||||
if (obj->isActiveObject())
|
||||
if (obj->IsActiveObject())
|
||||
{ m_activeGridObjects.erase(obj); }
|
||||
|
||||
return i_container.template remove<SPECIFIC_OBJECT>(obj);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue