Fixed issue with Chronicler House sign alignment on Merchant Tents.

This commit is contained in:
Cekis
2018-03-23 16:01:27 -07:00
committed by CekisSWG
parent a32f3f4322
commit f2d6c7d087
2 changed files with 5 additions and 6 deletions
@@ -4694,10 +4694,8 @@ public class player_structure extends script.base_script
}
else if (structureTemplate.startsWith("object/building/player/player_merchant_tent_style_01.iff") || structureTemplate.startsWith("object/building/player/player_merchant_tent_style_02.iff") || structureTemplate.startsWith("object/building/player/player_merchant_tent_style_03.iff"))
{
heading += 10;
there.x += 0.3f;
heading += 100;
there.z -= 0.1f;
x += 0.3f;
z -= 0.1f;
}
else if (structureTemplate.startsWith("object/building/player/player_house_tatooine_large_style_01.iff"))
@@ -4872,9 +4870,9 @@ public class player_structure extends script.base_script
{
Vector thisStructure = new Vector();
thisStructure.setSize(0);
for (String allStructure : allStructures) {
if (structureTemplate.equals(allStructure)) {
thisStructure = utils.addElement(thisStructure, allStructure);
for (String struct : allStructures) {
if (structureTemplate.equals(struct)) {
thisStructure = utils.addElement(thisStructure, struct);
}
}
}