tempCache = _tempCaches[inLayer]; // Should probably guard array indexes here
tileImage = tempCache.getTile(inX, inY);
if (tileImage != null) {
tempCache = _tempCaches[inLayer]; // Should probably guard array indexes here
tileImage = tempCache.getTile(inX, inY);
if (tileImage != null) {