[PATCH] qbsp: Remove weird check of cTexdata in qbsp.c::ProcessFile

Ugh, looks like this extraneous line snuck in with commit 6bb3ad32

While I'm here, I see no reason to zero pWorldEnt->cTexdata just above
either. It should already be zero'd memory from the malloc of map.rgEntities.

Signed-off-by: Tyrann <tyrann@disenchant.net>
This commit is contained in:
Tyrann 2007-08-21 23:18:56 +09:30
parent 5b9cb50f11
commit e71ab5bf24
1 changed files with 0 additions and 4 deletions

View File

@ -267,13 +267,9 @@ ProcessFile(void)
numwads = WADList_Init(&wads, wadstring);
if (numwads)
Message(msgLiteral, "Using default WAD: %s\n", wadstring);
else
pWorldEnt->cTexdata = 0;
FreeMem(wadstring, OTHER, strlen(options.szMapName) + 5);
}
if (!pWorldEnt->cTexdata)
// init the tables to be shared by all models
BeginBSPFile();