TEdit/Terraria-Map-Editor — pull request #523 by SBlogic (2014-07-16 17:44:39+00:00)
Title: Update World.Settings.cs

Fix issue with tile ID > 255 wrapping (cast curTile.id to ushort instead of byte).