shithub: duke3d

Download patch

ref: 2a5e75b44909c515c24197955aa9c2a0f3584f48
parent: 542731b6a936829de3d324823035a7b64719c053
author: Tanguy Fautre <[email protected]>
date: Wed Feb 12 17:37:40 EST 2020

Fixed low-detail mode and savegame thumbnail (broken years ago by tile module refactoring).

--- a/Engine/src/tiles.c
+++ b/Engine/src/tiles.c
@@ -47,7 +47,7 @@
     j = 0;
     for(i=0; i<=tileWidth; i++) {
         ylookup[i] = j;
-        j += tileWidth;
+        j += tileHeight;
     }
     setBytesPerLine(tileHeight);
     setviewcnt++;