Remove redundant sanity check that makes cppcheck complain. Ref ticket:2721
parent
f68e667c3d
commit
32f53cb388
|
@ -2340,7 +2340,7 @@ void renderStructure(STRUCTURE *psStructure)
|
|||
}
|
||||
pie_MatRotX(rot.pitch);
|
||||
// draw the muzzle flash?
|
||||
if (psStructure && psStructure->visible[selectedPlayer] > UBYTE_MAX / 2)
|
||||
if (psStructure->visible[selectedPlayer] > UBYTE_MAX / 2)
|
||||
{
|
||||
// animate for the duration of the flash only
|
||||
// assume no clan colours for muzzle effects
|
||||
|
|
Loading…
Reference in New Issue