diff --git a/src/tiler.cpp b/src/tiler.cpp index f86ab0a3..9a81af86 100644 --- a/src/tiler.cpp +++ b/src/tiler.cpp @@ -73,9 +73,10 @@ void Tiler::BlitTile(uint32_t code, int x, int y, int z, int o) TileSet *tileset = (TileSet *)data->tilesets.GetEntity(id); #if !FINAL_RELEASE - if (!tileset && id != data->lasterror) + if (!tileset) { - fprintf(stderr, "ERROR: blitting to null tiler #%i\n", id); + if (id != data->lasterror) + fprintf(stderr, "ERROR: blitting to null tiler #%i\n", id); data->lasterror = id; return; }