fix broken randomizer on silly quit messages (only 4 of 7 were displayed)
This commit is contained in:
parent
d9eb69523d
commit
bb0f6234aa
|
@ -438,10 +438,9 @@ void DoFCEUExit()
|
||||||
"E.X.I.T?",
|
"E.X.I.T?",
|
||||||
"I'm sorry, you missed your exit. There is another one in 19 miles",
|
"I'm sorry, you missed your exit. There is another one in 19 miles",
|
||||||
"Silly Exit Message goes here"
|
"Silly Exit Message goes here"
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
if(IDYES != MessageBox(hAppWnd, emsg[rand() & 6], "Exit FCE Ultra?", MB_ICONQUESTION | MB_YESNO) )
|
if(IDYES != MessageBox(hAppWnd, emsg[rand() % 7], "Exit FCE Ultra?", MB_ICONQUESTION | MB_YESNO) )
|
||||||
{
|
{
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue