fixed parameter setting in gate gui

This commit is contained in:
SpaceToad 2014-06-15 00:24:10 +02:00
parent 40268062db
commit 0a9ffaf59f

View file

@ -220,7 +220,7 @@ public class GuiGateInterface extends GuiAdvancedInterface {
}
for (int k = 0; k < 4; ++k) {
slots[position] = new TriggerParameterSlot(71, 26 + 18 * k, pipe, k, (TriggerSlot) slots[k]);
slots[position] = new TriggerParameterSlot(71, 26 + 18 * k, pipe, 0, (TriggerSlot) slots[k]);
position++;
}
@ -242,10 +242,10 @@ public class GuiGateInterface extends GuiAdvancedInterface {
}
for (int k = 0; k < 4; ++k) {
slots[position] = new TriggerParameterSlot(26, 26 + 18 * k, pipe, k,
slots[position] = new TriggerParameterSlot(26, 26 + 18 * k, pipe, 0,
(TriggerSlot) slots[k]);
position++;
slots[position] = new TriggerParameterSlot(116, 26 + 18 * k, pipe, k,
slots[position] = new TriggerParameterSlot(116, 26 + 18 * k, pipe, 0,
(TriggerSlot) slots[k + 4]);
position++;
}