mirror of
https://github.com/DrBeef/Raze.git
synced 2024-11-16 01:11:28 +00:00
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:
parent
cb888a3bdf
commit
8e0ea2e9c5
1 changed files with 8 additions and 0 deletions
|
@ -10176,6 +10176,14 @@ void test_map(int32_t mode)
|
|||
else
|
||||
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))
|
||||
{
|
||||
char *param = " -map " PLAYTEST_MAPNAME " -noinstancechecking";
|
||||
|
|
Loading…
Reference in a new issue