Use the default type if none is specified.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3635 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -87,6 +87,9 @@ public class TileFringer
|
|||||||
{
|
{
|
||||||
// get the type of the tile we are considering
|
// get the type of the tile we are considering
|
||||||
String baseType = tiles.getTileType(col, row);
|
String baseType = tiles.getTileType(col, row);
|
||||||
|
if (baseType == null) {
|
||||||
|
baseType = tiles.getDefaultType();
|
||||||
|
}
|
||||||
|
|
||||||
// start with an empty fringer list
|
// start with an empty fringer list
|
||||||
FringerRec fringers = null;
|
FringerRec fringers = null;
|
||||||
|
|||||||
Reference in New Issue
Block a user