summaryrefslogtreecommitdiff
path: root/src/hexen/in_lude.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/hexen/in_lude.c')
-rw-r--r--src/hexen/in_lude.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/hexen/in_lude.c b/src/hexen/in_lude.c
index 8de5acbb..b22c4c3e 100644
--- a/src/hexen/in_lude.c
+++ b/src/hexen/in_lude.c
@@ -23,6 +23,8 @@
#include "h2def.h"
+#include "i_system.h"
+#include "i_video.h"
#include <ctype.h>
// MACROS ------------------------------------------------------------------
@@ -404,7 +406,7 @@ void IN_Drawer(void)
return;
}
UpdateState |= I_FULLSCRN;
- memcpy(screen, (byte *) patchINTERPIC, SCREENWIDTH * SCREENHEIGHT);
+ memcpy(I_VideoBuffer, (byte *) patchINTERPIC, SCREENWIDTH * SCREENHEIGHT);
if (gametype == SINGLE)
{