mirror of
https://github.com/yquake2/yquake2remaster.git
synced 2025-04-11 12:40:45 +00:00
cmodel.c war kaputt.
This commit is contained in:
parent
4865a9679e
commit
2ab3f2d12c
1 changed files with 0 additions and 14 deletions
|
@ -578,21 +578,7 @@ cmodel_t *CM_LoadMap (char *name, qboolean clientload, unsigned *checksum)
|
|||
//
|
||||
length = FS_LoadFile (name, (void **)&buf);
|
||||
if (!buf)
|
||||
{
|
||||
Com_Error (ERR_DROP, "Couldn't load %s", name);
|
||||
}
|
||||
else
|
||||
{
|
||||
Com_Printf ("WARNING: Map not found, connecting in null map mode!\n");
|
||||
numleafs = 1;
|
||||
numclusters = 1;
|
||||
numareas = 1;
|
||||
*checksum = 0;
|
||||
|
||||
//!!!
|
||||
strcpy (name, "");
|
||||
return &map_cmodels[0];
|
||||
}
|
||||
|
||||
last_checksum = LittleLong (Com_BlockChecksum (buf, length));
|
||||
*checksum = last_checksum;
|
||||
|
|
Loading…
Reference in a new issue