mirror of
https://github.com/mangosfour/server.git
synced 2025-12-18 10:37:01 +00:00
Apply style fix pt2
This commit is contained in:
parent
35405dd549
commit
1392c131e7
77 changed files with 1318 additions and 817 deletions
|
|
@ -815,7 +815,10 @@ bool GameObject::IsTransport() const
|
|||
{
|
||||
// If something is marked as a transport, don't transmit an out of range packet for it.
|
||||
GameObjectInfo const* gInfo = GetGOInfo();
|
||||
if (!gInfo) { return false; }
|
||||
if (!gInfo)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
return gInfo->type == GAMEOBJECT_TYPE_TRANSPORT || gInfo->type == GAMEOBJECT_TYPE_MO_TRANSPORT;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue