[Widelands-cvs] widelands/src/ui/ui_basic ui_window.cc,1.7,1.8
Status: Beta
Brought to you by:
sirver
From: Stefan T. B. <vir...@us...> - 2005-01-26 19:37:42
|
Update of /cvsroot/widelands/widelands/src/ui/ui_basic In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27438/src/ui/ui_basic Modified Files: ui_window.cc Log Message: Added a network pre-game phase. Index: ui_window.cc =================================================================== RCS file: /cvsroot/widelands/widelands/src/ui/ui_basic/ui_window.cc,v retrieving revision 1.7 retrieving revision 1.8 diff -u -d -r1.7 -r1.8 --- ui_window.cc 23 Sep 2004 00:13:17 -0000 1.7 +++ ui_window.cc 26 Jan 2005 19:37:27 -0000 1.8 @@ -219,6 +219,8 @@ } else if (btn == MOUSE_RIGHT && down) delete this; // is this 100% safe? + // no, at least provide a flag for making a + // window unclosable and provide a callback return true; } |