[fixes #997] Update bottomStageNumber
The bottomStage.getStageNumber() was called, but never assigned to bottomStageNumber. Now it is. This has the effect that the exhaust effects will start at the bottom stage instead of on the top stage, which was previously the case.
This commit is contained in:
parent
affcc8b51f
commit
2184cc80e0
@ -422,7 +422,7 @@ public class PhotoPanel extends JPanel implements GLEventListener {
|
||||
AxialStage bottomStage = configuration.getBottomStage();
|
||||
int bottomStageNumber = 0;
|
||||
if (bottomStage != null)
|
||||
bottomStage.getStageNumber();
|
||||
bottomStageNumber = bottomStage.getStageNumber();
|
||||
//final int currentStageNumber = configuration.getActiveStages()[configuration.getActiveStages().length-1];
|
||||
//final AxialStage currentStage = (AxialStage)configuration.getRocket().getChild( bottomStageNumber);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user