mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-11 07:11:39 +00:00
Fix GCC 4.6 out-of-bounds and uninitialized warnings involving bossmove[].
My choice of solution is simply to add an extra set of values duplicating the previous five because doing so would definitely show the user no changes. I could have tinkered with the messy loop where the out-of-bounds references are made but there is no guarantee I could have succeeded or kept compatibility. git-svn-id: https://svn.eduke32.com/eduke32@2061 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
885b9a46fd
commit
751a0630ef
1 changed files with 11 additions and 10 deletions
|
@ -10797,7 +10797,8 @@ void G_BonusScreen(int32_t bonusonly)
|
|||
260, 290, VICTORY1+5, 86, 59,
|
||||
290, 320, VICTORY1+6, 86, 59,
|
||||
320, 350, VICTORY1+7, 86, 59,
|
||||
350, 380,VICTORY1+8,86,59
|
||||
350, 380, VICTORY1+8, 86, 59,
|
||||
350, 380, VICTORY1+8, 86, 59 // duplicate row to alleviate overflow in the for loop below "boss"
|
||||
};
|
||||
|
||||
if (g_networkMode == NET_DEDICATED_SERVER)
|
||||
|
|
Loading…
Reference in a new issue