qqshka noticed that the demolist in linux doesn't care about array sizes
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2830 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
ac82538714
commit
bc41311478
1 changed files with 2 additions and 0 deletions
|
@ -215,6 +215,8 @@ void Cluster_BuildAvailableDemoList(cluster_t *cluster)
|
|||
{
|
||||
for(;;)
|
||||
{
|
||||
if (cluster->availdemoscount == sizeof(cluster->availdemos)/sizeof(cluster->availdemos[0]))
|
||||
break;
|
||||
ent = readdir(dir);
|
||||
if (!ent)
|
||||
break;
|
||||
|
|
Loading…
Reference in a new issue