On Windows, don't allow map playtesting from Mapster when in fullscreen.

Because this doesn't even seem to work on XP, we're being spammed with
DDERR_SURFACELOST messages...

git-svn-id: https://svn.eduke32.com/eduke32@2600 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
helixhorned 2012-04-09 19:21:39 +00:00
parent cb888a3bdf
commit 8e0ea2e9c5

View file

@ -10176,6 +10176,14 @@ void test_map(int32_t mode)
else else
updatesector(startposx, startposy, &startsectnum); updatesector(startposx, startposy, &startsectnum);
#ifdef _WIN32
if (fullscreen)
{
printmessage16("Must be in windowed mode to test map!");
return;
}
#endif
if ((!mode && cursectnum >= 0) || (mode && startsectnum >= 0)) if ((!mode && cursectnum >= 0) || (mode && startsectnum >= 0))
{ {
char *param = " -map " PLAYTEST_MAPNAME " -noinstancechecking"; char *param = " -map " PLAYTEST_MAPNAME " -noinstancechecking";