diff options
author | Simon Howard | 2006-01-08 05:04:50 +0000 |
---|---|---|
committer | Simon Howard | 2006-01-08 05:04:50 +0000 |
commit | 02ed6c1bb5b1fbdd6aa1d41b01e1c374d8c86e5d (patch) | |
tree | d7fa6067496797efedbd67065c02291f25126ae3 /src | |
parent | 8df3eb7ce027ec1a73c8fce879ee0d59ac4e49c9 (diff) | |
download | chocolate-doom-02ed6c1bb5b1fbdd6aa1d41b01e1c374d8c86e5d.tar.gz chocolate-doom-02ed6c1bb5b1fbdd6aa1d41b01e1c374d8c86e5d.tar.bz2 chocolate-doom-02ed6c1bb5b1fbdd6aa1d41b01e1c374d8c86e5d.zip |
Don't grab the mouse on the net waiting screen
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 269
Diffstat (limited to 'src')
-rw-r--r-- | src/net_gui.c | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/src/net_gui.c b/src/net_gui.c index 7a41f217..a8307d2e 100644 --- a/src/net_gui.c +++ b/src/net_gui.c @@ -1,7 +1,7 @@ // Emacs style mode select -*- C++ -*- //----------------------------------------------------------------------------- // -// $Id: net_gui.c 262 2006-01-07 20:08:11Z fraggle $ +// $Id: net_gui.c 269 2006-01-08 05:04:50Z fraggle $ // // Copyright(C) 2005 Simon Howard // @@ -21,6 +21,9 @@ // 02111-1307, USA. // // $Log$ +// Revision 1.4 2006/01/08 05:04:50 fraggle +// Don't grab the mouse on the net waiting screen +// // Revision 1.3 2006/01/07 20:08:11 fraggle // Send player name and address in the waiting data packets. Display these // on the waiting screen, and improve the waiting screen appearance. @@ -42,6 +45,8 @@ // start the game. // +#include "doomstat.h" + #include "net_client.h" #include "net_gui.h" #include "net_server.h" @@ -157,6 +162,11 @@ void NET_WaitForStart(void) NET_InitGUI(); + // cheap hack: pretend to be on a demo screen so the mouse wont + // be grabbed + + gamestate = GS_DEMOSCREEN; + last_tic_time = I_GetTime(); while (net_waiting_for_start) |