(svn r11629) -Fix [FS#1527]: many viewports could crash the scenario editor.

This commit is contained in:
rubidium
2007-12-13 18:46:04 +00:00
parent 98d18c5337
commit a0f2366e40
3 changed files with 22 additions and 3 deletions
+5
View File
@@ -14,6 +14,11 @@
#include "vehicle.h"
#include "viewport.h"
/**
* The maximum number of windows that can be opened.
*/
static const int MAX_NUMBER_OF_WINDOWS = 25;
struct WindowEvent;
typedef void WindowProc(Window *w, WindowEvent *e);