shithub: choc

Download patch

ref: ecdd879374fee32f48fe2551873cb4801e39711c
parent: 440dd9fc2affb98ddd334e118f3a17657965e7be
author: Simon Howard <[email protected]>
date: Fri Sep 29 17:38:21 EDT 2006

Working -left and -right options!

Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 681

--- a/src/d_net.c
+++ b/src/d_net.c
@@ -1,7 +1,7 @@
 // Emacs style mode select   -*- C++ -*- 
 //-----------------------------------------------------------------------------
 //
-// $Id: d_net.c 680 2006-09-29 21:25:13Z fraggle $
+// $Id: d_net.c 681 2006-09-29 21:38:21Z fraggle $
 //
 // Copyright(C) 1993-1996 Id Software, Inc.
 // Copyright(C) 2005 Simon Howard
@@ -117,7 +117,7 @@
 //-----------------------------------------------------------------------------
 
 
-static const char rcsid[] = "$Id: d_net.c 680 2006-09-29 21:25:13Z fraggle $";
+static const char rcsid[] = "$Id: d_net.c 681 2006-09-29 21:38:21Z fraggle $";
 
 #include "doomfeatures.h"
 
@@ -335,6 +335,18 @@
 
     if (M_CheckParm("-drone") > 0)
     {
+        drone = true;
+    }
+
+    if (M_CheckParm("-left") > 0)
+    {
+        viewangleoffset = ANG90;
+        drone = true;
+    }
+
+    if (M_CheckParm("-right") > 0)
+    {
+        viewangleoffset = ANG270;
         drone = true;
     }