mirror of
https://github.com/SWG-Source/dsrc.git
synced 2026-10-05 21:12:59 -04:00
Removed unused vars (just some) from script.
This commit is contained in:
@@ -866,16 +866,6 @@ public class npc_lair extends script.theme_park.poi.base
|
||||
mobile = poiCreateObject(name, x, y, level);
|
||||
stopFloating(mobile);
|
||||
}
|
||||
boolean tamable = (utils.dataTableGetFloat(CREATURE_TABLE, name, "canTame") > 0.0f);
|
||||
boolean npcLair = hasObjVar(getSelf(), "npc_lair.isNotCreatureLair");
|
||||
if (hasObjVar(getSelf(), "npc_lair.isCreatureLair"))
|
||||
{
|
||||
npcLair = false;
|
||||
}
|
||||
if (hasObjVar(objBase, "objMission"))
|
||||
{
|
||||
tamable = false;
|
||||
}
|
||||
if (isIdValid(mobile))
|
||||
{
|
||||
if ((!randomLoc) && (!boolMobSpawners))
|
||||
@@ -903,13 +893,8 @@ public class npc_lair extends script.theme_park.poi.base
|
||||
setObjVar(mobile, "npc_lair.target", target);
|
||||
}
|
||||
if (!ai_lib.isMonster(mobile))
|
||||
{
|
||||
tamable = false;
|
||||
}
|
||||
if (!ai_lib.isMonster(mobile))
|
||||
{
|
||||
setObjVar(getSelf(), "npc_lair.isNotCreatureLair", true);
|
||||
npcLair = true;
|
||||
}
|
||||
return mobile;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user