Lunatic: disallow saving map-text files in Mapster32 for now.

git-svn-id: https://svn.eduke32.com/eduke32@4329 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
helixhorned 2014-02-12 21:03:06 +00:00
parent 23ecf8cce0
commit 15e141452e

View file

@ -10970,7 +10970,11 @@ int32_t saveboard(const char *filename, const vec3_t *dapos, int16_t daang, int1
#ifdef NEW_MAP_FORMAT #ifdef NEW_MAP_FORMAT
if (numyaxbunches > 0) if (numyaxbunches > 0)
return saveboard_maptext(filename, dapos, daang, dacursectnum); {
initprintf("Saving of TROR maps not yet accessible in the Lunatic preview build\n");
return -1;
// return saveboard_maptext(filename, dapos, daang, dacursectnum);
}
#endif #endif
fil = Bopen(filename, BO_BINARY|BO_TRUNC|BO_CREAT|BO_WRONLY, BS_IREAD|BS_IWRITE); fil = Bopen(filename, BO_BINARY|BO_TRUNC|BO_CREAT|BO_WRONLY, BS_IREAD|BS_IWRITE);