mirror of
https://github.com/Sarjuuk/aowow.git
synced 2025-11-29 15:58:16 +08:00
Staff/vehicles
* fixed error when trying to lookup accessory creatures in world db with aowow guids
This commit is contained in:
@@ -651,7 +651,8 @@ trait spawnHelper
|
|||||||
$info[5] = 'Orientation'.Lang::main('colon').$o[0].'° ('.$o[1].')';
|
$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']))
|
if ($points = Game::worldPosToZonePos($worldPos[$s['guid']]['mapId'], $worldPos[$s['guid']]['posX'], $worldPos[$s['guid']]['posY']))
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user