summaryrefslogtreecommitdiff
path: root/src/v_video.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/v_video.c')
-rw-r--r--src/v_video.c11
1 files changed, 8 insertions, 3 deletions
diff --git a/src/v_video.c b/src/v_video.c
index 564359a4..69da2aed 100644
--- a/src/v_video.c
+++ b/src/v_video.c
@@ -390,7 +390,7 @@ void V_DrawAltTLPatch(int x, int y, patch_t * patch)
}
col = 0;
- desttop = screen + y * SCREENWIDTH + x;
+ desttop = dest_screen + y * SCREENWIDTH + x;
w = SHORT(patch->width);
for (; col < w; x++, col++, desttop++)
@@ -471,9 +471,14 @@ void V_DrawShadowedPatch(int x, int y, patch_t *patch)
}
}
+//
+// Load tint table from TINTTAB lump.
+//
-
-
+void V_LoadTintTable(void)
+{
+ tinttable = W_CacheLumpName("TINTTAB", PU_STATIC);
+}
//
// V_DrawBlock