1 parent
d34eb1a276
commit
dcd017bbad
2 files changed
+18
No files matched your search
@@ -456,6 +456,19 @@ struct GameObjectTemplate
|
||||
}
|
||||
}
|
||||
|
||||
bool IsIgnoringLOSChecks() const
|
||||
{
|
||||
switch (type)
|
||||
{
|
||||
case GAMEOBJECT_TYPE_BUTTON: return button.losOK == 0;
|
||||
case GAMEOBJECT_TYPE_QUESTGIVER: return questgiver.losOK == 0;
|
||||
case GAMEOBJECT_TYPE_CHEST: return chest.losOK == 0;
|
||||
case GAMEOBJECT_TYPE_GOOBER: return goober.losOK == 0;
|
||||
case GAMEOBJECT_TYPE_FLAGSTAND: return flagstand.losOK == 0;
|
||||
default: return false;
|
||||
}
|
||||
}
|
||||
|
||||
uint32 GetLockId() const
|
||||
{
|
||||
switch (type)
|
||||
|
||||
Reference in new issue
Block a user