Skip to content

Commit

Permalink
Rails on slopes bug fix! :)
Browse files Browse the repository at this point in the history
One character. :)
Fix #115
  • Loading branch information
dzavalishin committed Sep 12, 2021
1 parent 2420141 commit 6fd41cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/game/Rail.java
Original file line number Diff line number Diff line change
Expand Up @@ -547,7 +547,7 @@ public static int GetRailFoundation(int tileh, int bits)
if(tileh != 2)
{
i+=2;
if(tileh == 4)
if(tileh != 4)
{
i+=2;
if( tileh != 8) return 0;
Expand Down

0 comments on commit 6fd41cf

Please sign in to comment.