mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-11 07:11:39 +00:00
- fixed some warnings
This commit is contained in:
parent
b600d3ff56
commit
ea631cb6ac
2 changed files with 2 additions and 2 deletions
|
@ -3252,7 +3252,7 @@ int A_Spawn(int spriteNum, int tileNum)
|
|||
int const startWall = sector[sectNum].wallptr;
|
||||
int const endWall = startWall + sector[sectNum].wallnum;
|
||||
|
||||
pSprite->extra = ((uint16_t)sector[sectNum].hitag != UINT16_MAX);
|
||||
pSprite->extra = (uint16_t)((uint16_t)sector[sectNum].hitag != UINT16_MAX);
|
||||
|
||||
// TRAIN_SECTOR_TO_SE_INDEX
|
||||
sector[sectNum].hitag = newSprite;
|
||||
|
|
|
@ -4332,7 +4332,7 @@ rr_badguy:
|
|||
int const startWall = sector[sectNum].wallptr;
|
||||
int const endWall = startWall + sector[sectNum].wallnum;
|
||||
|
||||
pSprite->extra = ((uint16_t)sector[sectNum].hitag != UINT16_MAX);
|
||||
pSprite->extra = (uint16_t)((uint16_t)sector[sectNum].hitag != UINT16_MAX);
|
||||
|
||||
// TRAIN_SECTOR_TO_SE_INDEX
|
||||
sector[sectNum].hitag = newSprite;
|
||||
|
|
Loading…
Reference in a new issue