mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-24 10:40:46 +00:00
Derp
git-svn-id: https://svn.eduke32.com/eduke32@7170 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
86496a8126
commit
beafd13b1a
1 changed files with 6 additions and 4 deletions
|
@ -1729,14 +1729,16 @@ void OSD_Puts(const char *tmpstr)
|
|||
//
|
||||
void OSD_DispatchQueued(void)
|
||||
{
|
||||
if (!osd->history.exec) return;
|
||||
if (!osd->history.exec)
|
||||
return;
|
||||
|
||||
for (int cmd=osd->history.exec-1; cmd>=0; cmd--)
|
||||
OSD_Dispatch((const char *)osd->history.buf[cmd]);
|
||||
int cmd = osd->history.exec - 1;
|
||||
|
||||
osd->history.exec = 0;
|
||||
}
|
||||
|
||||
for (; cmd >= 0; cmd--)
|
||||
OSD_Dispatch((const char *)osd->history.buf[cmd]);
|
||||
}
|
||||
|
||||
//
|
||||
// OSD_Dispatch() -- Executes a command string
|
||||
|
|
Loading…
Reference in a new issue