qbsp: remove unneccessary cast from LoadMapFile()

Signed-off-by: Kevin Shanahan <kmshanah@disenchant.net>
This commit is contained in:
Kevin Shanahan 2013-02-15 14:09:18 +10:30
parent 963b14ab3a
commit e3752dc02d
1 changed files with 1 additions and 1 deletions

View File

@ -583,7 +583,7 @@ LoadMapFile(void)
Error(errLowMiptexCount);
else if (cMiptex < map.maxfaces) {
// For stuff in AddAnimatingTex, make room available
pTemp = (void *)rgszMiptex;
pTemp = rgszMiptex;
rgszMiptex = AllocMem(MIPTEX, cMiptex + cAnimtex * 20, true);
memcpy(rgszMiptex, pTemp, cMiptex * rgcMemSize[MIPTEX]);
FreeMem(pTemp, MIPTEX, map.maxfaces);