stefanbeller/tiled — comment on commit c7a00a7542e3c0790d89b7c8f00a3bf86a8b438d
File: src/libtiled/map.cpp line 215
By bjorn:

Why the check whether the layer is a tile layer? At the moment the width/height are properties of Layer, so might as well rely on that.