mirror of
https://github.com/nzp-team/fteqw.git
synced 2024-11-10 14:42:13 +00:00
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:
parent
4f6a434e85
commit
018b3ada7e
1 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue