*** empty log message ***

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@743 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
Lee Salzman
2006-11-26 18:42:04 +00:00
parent 485c053908
commit 79512384cd
+1 -1
View File
@@ -108,7 +108,7 @@ struct md2 : vertmodel
fseek(file, header.offsetglcommands, SEEK_SET);
int numglcommands = fread(glcommands, sizeof(int), header.numglcommands, file);
endianswap(glcommands, sizeof(int), numglcommands);
glcommands[numglcommands < header.numglcommands ? numglcommands : numglcommands-1] = 0;
if(numglcommands < header.numglcommands) memset(&glcommands[numglcommands], 0, (header.numglcommands-numglcommands)*sizeof(int));
vector<tcvert> tcgen;
vector<tri> trigen;