Remove redundant sanity check that makes cppcheck complain. Ref ticket:2721

master
Per Inge Mathisen 2011-05-17 08:05:15 +02:00
parent f68e667c3d
commit 32f53cb388
1 changed files with 1 additions and 1 deletions

View File

@ -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