Fix for command completion, thanks grenadier!

https://sourceforge.net/p/actiongame/bugs/497/#877d

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@7642 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
aerkefiende
2013-11-09 17:16:59 +00:00
parent 994061553e
commit 0819beacdb
+1 -1
View File
@@ -909,7 +909,7 @@ void commandcomplete(char *s)
}
);
completeidx++;
if(completeidx>=idx) completeidx = 1;
if(completeidx>=idx) completeidx = 0;
}
else if(!cdata) return;
else if(cdata->type==COMPLETE_NICK) nickcomplete(s);