mirror of
https://github.com/libretro/libretro-prboom.git
synced 2024-11-23 16:09:41 +00:00
Fix some LGTM warnings
This commit is contained in:
parent
633374e78b
commit
498a0c2b30
@ -1791,9 +1791,7 @@ static void deh_procThing(DEHFILE *fpin, FILE* fpout, char *line)
|
||||
}
|
||||
|
||||
if (fpout) fprintf(fpout,"Thing %d (%s) -> line: '%s'\n", indexnum+1,
|
||||
((indexnum >= 0 && indexnum < NUMMOBJTYPES)?
|
||||
mobjinfo[indexnum].actorname : "undefined"),
|
||||
inbuffer);
|
||||
mobjinfo[indexnum].actorname, inbuffer);
|
||||
|
||||
// now process the stuff
|
||||
// Note that for Things we can look up the key and use its offset
|
||||
|
@ -801,7 +801,7 @@ void A_FireOldBFG(player_t *player, pspdef_t *psp)
|
||||
th->momz = finetangent[an2>>ANGLETOFINESHIFT] * 25;
|
||||
P_CheckMissileSpawn(th);
|
||||
}
|
||||
while ((type != MT_PLASMA2) && (type = MT_PLASMA2)); //killough: obfuscated!
|
||||
while ((type != MT_PLASMA2) && (type = MT_PLASMA2)); //killough: obfuscated! // lgtm[cpp/assign-where-compare-meant]
|
||||
}
|
||||
|
||||
//
|
||||
|
Loading…
Reference in New Issue
Block a user