mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2024-11-15 01:01:33 +00:00
clang: fixup a few clang warnings
This commit is contained in:
parent
864baeda05
commit
f4886657c1
3 changed files with 3 additions and 3 deletions
|
@ -4225,7 +4225,7 @@ mobjinfo_t mobjinfo[NUMMOBJTYPES] =
|
|||
MT_GOOP, // painchance
|
||||
sfx_dmpain, // painsound
|
||||
S_EGGMOBILE2_PAIN2, // meleestate
|
||||
MT_EGGMOBILE2_POGO, // missilestate
|
||||
(mobjtype_t)MT_EGGMOBILE2_POGO, // missilestate
|
||||
S_EGGMOBILE2_DIE1, // deathstate
|
||||
S_EGGMOBILE2_FLEE1,// xdeathstate
|
||||
sfx_cybdth, // deathsound
|
||||
|
|
|
@ -6071,7 +6071,7 @@ static void M_RoomMenu(INT32 choice)
|
|||
|
||||
for (i = 0; room_list[i].header.buffer[0]; i++)
|
||||
{
|
||||
if(room_list[i].name != '\0')
|
||||
if(*room_list[i].name != '\0')
|
||||
{
|
||||
MP_RoomMenu[i+1].text = room_list[i].name;
|
||||
roomIds[i] = room_list[i].id;
|
||||
|
|
|
@ -6352,7 +6352,7 @@ void A_Boss2PogoTarget(mobj_t *actor)
|
|||
|
||||
if (actor->info->missilestate) // spawn the pogo stick collision box
|
||||
{
|
||||
mobj_t *pogo = P_SpawnMobj(actor->x, actor->y, actor->z - mobjinfo[actor->info->missilestate].height, actor->info->missilestate);
|
||||
mobj_t *pogo = P_SpawnMobj(actor->x, actor->y, actor->z - mobjinfo[actor->info->missilestate].height, (mobjtype_t)actor->info->missilestate);
|
||||
pogo->target = actor;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue