Staff/vehicles
* fixed error when trying to lookup accessory creatures in world db with aowow guids
This commit is contained in:
parent
fca627c408
commit
c665062faa
1 changed files with 2 additions and 1 deletions
|
|
@ -651,7 +651,8 @@ trait spawnHelper
|
|||
$info[5] = 'Orientation'.Lang::main('colon').$o[0].'° ('.$o[1].')';
|
||||
}
|
||||
|
||||
if (User::isInGroup(U_GROUP_MODERATOR) && $worldPos)
|
||||
// guid < 0 are vehicle accessories. those are moved by moving the vehicle
|
||||
if (User::isInGroup(U_GROUP_MODERATOR) && $worldPos && $s['guid'] > 0)
|
||||
{
|
||||
if ($points = Game::worldPosToZonePos($worldPos[$s['guid']]['mapId'], $worldPos[$s['guid']]['posX'], $worldPos[$s['guid']]['posY']))
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue