add constants for npclookat types

This commit is contained in:
UbitUmarov
2021-02-16 12:24:11 +00:00
parent 1c29f3378d
commit 8c7bd5fe8d
2 changed files with 28 additions and 14 deletions

View File

@@ -6073,7 +6073,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
if (World.GetNumberOfClients() == 0)
return 0;
if (ltype < 0 || ltype > 11)
if (ltype < 0 || ltype > ScriptBaseClass.NPCLOOKAT_CLEAR)
return -1;
if (!UUID.TryParse(npckey, out UUID npc))