Fixed issue with Chronicler House sign alignment on Merchant Tents.

This commit is contained in:
Cekis
2017-01-29 21:59:06 +00:00
parent b928504f80
commit 057dd67711
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);
}
}
}