shithub: rott

Download patch

ref: ea458193a485935680becc10554b214e8fc5243e
parent: 82c062708048a61cdacd30d13df2925fc778ec81
author: Marc-Alexandre ESPIAUT <marcalexandre@member.fsf.org>
date: Wed Jun 13 18:12:27 EDT 2018

Removed leftover VR variable

--- a/src/rt_main.c
+++ b/src/rt_main.c
@@ -467,7 +467,6 @@
     MAPSTATS=false;
     TILESTATS=false;
     IS8250 = false;
-    vrenabled = false;
     demoexit = false;
 
     modemgame=false;
@@ -683,9 +682,6 @@
             IS8250 = true;
             break;
         case 16:
-            vrenabled = true;
-            if (!quiet)
-                printf("Virtual Reality Mode enabled\n");
             break;
         case 17:
             timelimitenabled = true;
--- a/src/rt_playr.c
+++ b/src/rt_playr.c
@@ -144,7 +144,6 @@
 int JY = 0;
 int CX = 0;
 int CY = 0;
-boolean vrenabled = false;
 int VX = 0;
 int VY = 0;
 
--- a/src/rt_playr.h
+++ b/src/rt_playr.h
@@ -257,8 +257,6 @@
 extern int whichpath;
 extern statobj_t *BulletHoles[MAXBULLETS];
 
-extern boolean vrenabled;
-
 void SetupBulletHoleLink (int num, statobj_t * item);
 
 #endif