summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/tilebuf.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/tilebuf.cc')
-rw-r--r--crawl-ref/source/tilebuf.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/crawl-ref/source/tilebuf.cc b/crawl-ref/source/tilebuf.cc
index 470e8fa549..2699502717 100644
--- a/crawl-ref/source/tilebuf.cc
+++ b/crawl-ref/source/tilebuf.cc
@@ -8,6 +8,8 @@
#include "AppHdr.h"
REVISION("$Rev$");
+#ifdef USE_TILE
+
#include "tilebuf.h"
#include "tilefont.h"
#include "tilesdl.h"
@@ -323,3 +325,5 @@ void LineBuffer::add_square(float sx, float sy, float ex, float ey,
add(ex, ey, sx, ey, col);
add(sx, ey, sx, sy, col);
}
+
+#endif