mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-24 10:40:46 +00:00
Fix a 64 bit warning. Possibly a crash.
git-svn-id: https://svn.eduke32.com/eduke32@791 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
bd039f617e
commit
e61ca5120a
1 changed files with 5 additions and 4 deletions
|
@ -3727,8 +3727,8 @@ void OnEvent(int iEventID, int iActor, int iPlayer, int lDist)
|
|||
|
||||
{
|
||||
int og_i=g_i, og_p=g_p, okillit_flag=killit_flag;
|
||||
int og_x=g_x, *og_t=g_t;
|
||||
intptr_t *oinsptr=insptr;
|
||||
int og_x=g_x;// *og_t=g_t;
|
||||
intptr_t *oinsptr=insptr, *og_t=g_t;
|
||||
spritetype *og_sp=g_sp;
|
||||
|
||||
g_i = iActor; // current sprite ID
|
||||
|
@ -4077,7 +4077,8 @@ static void alterang(int a)
|
|||
|
||||
static void move(void)
|
||||
{
|
||||
int l, *moveptr;
|
||||
int l;
|
||||
intptr_t *moveptr;
|
||||
int a = g_sp->hitag, goalang, angdif;
|
||||
int daxvel;
|
||||
|
||||
|
@ -5290,7 +5291,7 @@ static int parse(void)
|
|||
if (*lpDefault)
|
||||
{
|
||||
//AddLog("No Matching Case: Using Default");
|
||||
insptr=(int*)(*lpDefault + &script[0]);
|
||||
insptr=(intptr_t*)(*lpDefault + &script[0]);
|
||||
while (1) if (parse()) break;
|
||||
}
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue