summaryrefslogtreecommitdiff
path: root/games/xdoom/patches/patch-bc
blob: c00a92fa0c6a689c14000be9fc307ac00fc0ba41 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
$NetBSD: patch-bc,v 1.3 2010/02/22 21:58:48 wiz Exp $

--- linuxdoom-1.10/d_main.c.orig	2003-09-29 22:25:20.000000000 +0000
+++ linuxdoom-1.10/d_main.c	2003-09-29 23:43:29.000000000 +0000
@@ -150,7 +150,7 @@
 void D_PostEvent (event_t* ev)
 {
     events[eventhead] = *ev;
-    eventhead = (++eventhead)&(MAXEVENTS-1);
+    eventhead = (1+eventhead)&(MAXEVENTS-1);
 }
 
 
@@ -822,14 +822,14 @@
   -skill N	Set starting skill level to N.\n\
 \n\
 Others are:\n\
-
+\n\
 -altdeath   -debugfile	-file	    -nodraw	-respawn    -warp \n\
 -avg	    -devparm	-geom	    -nomonsters	-shdev	    -wart \n\
 -cdrom	    -disp	-loadgame   -playdemo	-statcopy \n\
 -comdev	    -dup	-maxdemo    -port	-timedemo \n\
 	    -extratic	-net	    -record	-timer \n\
 -deathmatch -fast	-noblit	    -regdev	-turbo \n\
-
+\n\
 ");
     exit(0);
     }