no message

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@371 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
driAn
2006-08-28 18:51:43 +00:00
parent b180463d35
commit 41752e52ed
9 changed files with 29 additions and 31 deletions
+1 -1
View File
@@ -211,7 +211,6 @@ extern void preload_mapmodels();
void load_world(char *mname) // still supports all map formats that have existed since the earliest cube betas!
{
loadingscreen();
preparectf(true);
stopifrecording();
cleardlights();
@@ -219,6 +218,7 @@ void load_world(char *mname) // still supports all map formats that have
setnames(mname);
gzFile f = gzopen(cgzname, "rb9");
if(!f) { conoutf("could not read map %s", (int)cgzname); return; };
loadingscreen();
gzread(f, &hdr, sizeof(header)-sizeof(int)*16);
endianswap(&hdr.version, sizeof(int), 4);
if(strncmp(hdr.head, "CUBE", 4)!=0 && strncmp(hdr.head, "ACMP",4)!=0) fatal("while reading map: header malformatted");