Skip to content

Commit

Permalink
tileset fix
Browse files Browse the repository at this point in the history
  • Loading branch information
joafalves committed Jan 26, 2014

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
1 parent 93fb566 commit 8308d6e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Gibbo.Library/Classes/Game Objects/Tileset.cs
Original file line number Diff line number Diff line change
@@ -249,7 +249,8 @@ public int Height
set
{
if (value % 2 != 0)
value -= 1;
if (value > Height) value += 1;
else value -= 1;

if (value > 200)
value = 200;

0 comments on commit 8308d6e

Please sign in to comment.