From bf2003fe6abf0239e8e306b3b51d257584067ef1 Mon Sep 17 00:00:00 2001
From: Christoph Oelckers <coelckers@users.noreply.github.com>
Date: Mon, 19 Mar 2018 20:09:32 +0100
Subject: [PATCH] - fixed pixel address.

Colors still need work.
---
 src/textures/buildtexture.cpp | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/textures/buildtexture.cpp b/src/textures/buildtexture.cpp
index 9984e8a19..a78f7fc6e 100644
--- a/src/textures/buildtexture.cpp
+++ b/src/textures/buildtexture.cpp
@@ -143,6 +143,7 @@ void FTextureManager::AddTiles (const FString &pathprefix, const void *tiles, in
 
 		tex = new FBuildTexture (pathprefix, i, tiledata, translation, width, height, xoffs, yoffs);
 		texnum = AddTexture (tex);
+		tiledata += size;
 
 		// reactivate only if the texture counter works here.
 		//StartScreen->Progress();