ref: 35104488f0c896dbb43d6841a89a629b2ed248a4
parent: 678a8f9aeea9fa1966b3e8a94974688fda4d8fe1
author: Simon Howard <fraggle@gmail.com>
date: Mon Dec 6 17:38:24 EST 2010
Rename -netdemo command line parameter to -solo-net, for consistency with other ports (-netdemo is still recognised). Subversion-branch: /trunk/chocolate-doom Subversion-revision: 2197
--- a/src/g_game.c
+++ b/src/g_game.c
@@ -2223,10 +2223,11 @@
// Play back a demo recorded in a netgame with a single player.
//
- if (playeringame[1] || M_CheckParm("-netdemo") > 0)
- {
- netgame = true;
- netdemo = true;
+ if (playeringame[1] || M_CheckParm("-solo-net") > 0
+ || M_CheckParm("-netdemo") > 0)
+ {
+ netgame = true;
+ netdemo = true;
}
// don't spend a lot of time in loadlevel