mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-28 20:40:47 +00:00
- fixed some warnings that came back through the backdoor.
This commit is contained in:
parent
d5b9a9ee43
commit
af7ad28ad6
1 changed files with 12 additions and 12 deletions
|
@ -19761,7 +19761,7 @@ WarpToUnderwater(short *sectnum, int *x, int *y, int *z)
|
||||||
short i, nexti;
|
short i, nexti;
|
||||||
SECT_USERp sectu = SectUser[*sectnum];
|
SECT_USERp sectu = SectUser[*sectnum];
|
||||||
SPRITEp under_sp = NULL, over_sp = NULL;
|
SPRITEp under_sp = NULL, over_sp = NULL;
|
||||||
char Found = false;
|
bool Found = false;
|
||||||
short over, under;
|
short over, under;
|
||||||
int sx, sy;
|
int sx, sy;
|
||||||
|
|
||||||
|
@ -19783,7 +19783,7 @@ WarpToUnderwater(short *sectnum, int *x, int *y, int *z)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
ASSERT(Found == true);
|
ASSERT(Found);
|
||||||
Found = false;
|
Found = false;
|
||||||
|
|
||||||
// search for UNDERWATER "under" sprite for reference point
|
// search for UNDERWATER "under" sprite for reference point
|
||||||
|
@ -19800,7 +19800,7 @@ WarpToUnderwater(short *sectnum, int *x, int *y, int *z)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
ASSERT(Found == true);
|
ASSERT(Found);
|
||||||
|
|
||||||
// get the offset from the sprite
|
// get the offset from the sprite
|
||||||
sx = over_sp->x - *x;
|
sx = over_sp->x - *x;
|
||||||
|
@ -19836,7 +19836,7 @@ WarpToSurface(short *sectnum, int *x, int *y, int *z)
|
||||||
int sx, sy;
|
int sx, sy;
|
||||||
|
|
||||||
SPRITEp under_sp = NULL, over_sp = NULL;
|
SPRITEp under_sp = NULL, over_sp = NULL;
|
||||||
char Found = false;
|
bool Found = false;
|
||||||
|
|
||||||
// 0 not valid for water match tags
|
// 0 not valid for water match tags
|
||||||
if (sectu->number == 0)
|
if (sectu->number == 0)
|
||||||
|
@ -19856,7 +19856,7 @@ WarpToSurface(short *sectnum, int *x, int *y, int *z)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
ASSERT(Found == true);
|
ASSERT(Found);
|
||||||
Found = false;
|
Found = false;
|
||||||
|
|
||||||
// search for DIVE_AREA "over" sprite for reference point
|
// search for DIVE_AREA "over" sprite for reference point
|
||||||
|
@ -19873,7 +19873,7 @@ WarpToSurface(short *sectnum, int *x, int *y, int *z)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
ASSERT(Found == true);
|
ASSERT(Found);
|
||||||
|
|
||||||
// get the offset from the under sprite
|
// get the offset from the under sprite
|
||||||
sx = under_sp->x - *x;
|
sx = under_sp->x - *x;
|
||||||
|
@ -19906,7 +19906,7 @@ SpriteWarpToUnderwater(SPRITEp sp)
|
||||||
short i, nexti;
|
short i, nexti;
|
||||||
SECT_USERp sectu = SectUser[sp->sectnum];
|
SECT_USERp sectu = SectUser[sp->sectnum];
|
||||||
SPRITEp under_sp = NULL, over_sp = NULL;
|
SPRITEp under_sp = NULL, over_sp = NULL;
|
||||||
char Found = false;
|
bool Found = false;
|
||||||
short over, under;
|
short over, under;
|
||||||
int sx, sy;
|
int sx, sy;
|
||||||
|
|
||||||
|
@ -19928,7 +19928,7 @@ SpriteWarpToUnderwater(SPRITEp sp)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
ASSERT(Found == true);
|
ASSERT(Found);
|
||||||
Found = false;
|
Found = false;
|
||||||
|
|
||||||
// search for UNDERWATER "under" sprite for reference point
|
// search for UNDERWATER "under" sprite for reference point
|
||||||
|
@ -19945,7 +19945,7 @@ SpriteWarpToUnderwater(SPRITEp sp)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
ASSERT(Found == true);
|
ASSERT(Found);
|
||||||
|
|
||||||
// get the offset from the sprite
|
// get the offset from the sprite
|
||||||
sx = over_sp->x - sp->x;
|
sx = over_sp->x - sp->x;
|
||||||
|
@ -19987,7 +19987,7 @@ SpriteWarpToSurface(SPRITEp sp)
|
||||||
int sx, sy;
|
int sx, sy;
|
||||||
|
|
||||||
SPRITEp under_sp = NULL, over_sp = NULL;
|
SPRITEp under_sp = NULL, over_sp = NULL;
|
||||||
char Found = false;
|
bool Found = false;
|
||||||
|
|
||||||
// 0 not valid for water match tags
|
// 0 not valid for water match tags
|
||||||
if (sectu->number == 0)
|
if (sectu->number == 0)
|
||||||
|
@ -20007,7 +20007,7 @@ SpriteWarpToSurface(SPRITEp sp)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
ASSERT(Found == true);
|
ASSERT(Found);
|
||||||
|
|
||||||
if (under_sp->lotag == 0)
|
if (under_sp->lotag == 0)
|
||||||
return false;
|
return false;
|
||||||
|
@ -20028,7 +20028,7 @@ SpriteWarpToSurface(SPRITEp sp)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
ASSERT(Found == true);
|
ASSERT(Found);
|
||||||
|
|
||||||
// get the offset from the under sprite
|
// get the offset from the under sprite
|
||||||
sx = under_sp->x - sp->x;
|
sx = under_sp->x - sp->x;
|
||||||
|
|
Loading…
Reference in a new issue