Off by one error that was causing crashes on certain configs.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@48 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Spoike 2004-08-26 10:17:21 +00:00
parent 4f6a434e85
commit 018b3ada7e

View file

@ -377,7 +377,7 @@ void Cbuf_Execute (void)
{
int level;
for (level = 0; level <= sizeof(cmd_text)/sizeof(cmd_text[0]); level++)
for (level = 0; level < sizeof(cmd_text)/sizeof(cmd_text[0]); level++)
Cbuf_ExecuteLevel(level);
}