mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-10 23:02:03 +00:00
Possibly fix another weird crash
git-svn-id: https://svn.eduke32.com/eduke32@1688 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
ba0958d49b
commit
1a214939d7
2 changed files with 2 additions and 5 deletions
|
@ -106,10 +106,6 @@ int32_t voting = -1;
|
|||
int32_t vote_map = -1, vote_episode = -1;
|
||||
|
||||
static int32_t g_Debug = 0;
|
||||
|
||||
extern int32_t rts_numlumps;
|
||||
|
||||
|
||||
static int32_t g_noLogoAnim = 0;
|
||||
static int32_t g_noLogo = 0;
|
||||
|
||||
|
@ -6164,7 +6160,7 @@ PALONLY:
|
|||
}
|
||||
*/
|
||||
|
||||
if (t4 && t4 != 1)
|
||||
if ((intptr_t *)t4 >= &script[0] && (intptr_t *)t4 <= (&script[0]+g_scriptSize))
|
||||
{
|
||||
l = *(((intptr_t *)t4)+2); //For TerminX: was *(int32_t *)(t4+8)
|
||||
|
||||
|
|
|
@ -30,6 +30,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|||
#define __rts_public__
|
||||
|
||||
extern char rts_lumplockbyte[11];
|
||||
extern int32_t rts_numlumps;
|
||||
|
||||
/*
|
||||
====================
|
||||
|
|
Loading…
Reference in a new issue