Skip to content

Commit

Permalink
pre-3.0: Backport r8221 from master to fix missing repair turret bug.
Browse files Browse the repository at this point in the history
  • Loading branch information
perim committed Oct 18, 2010
1 parent a32651d commit 6bdd4cd
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/display3d.c
Expand Up @@ -2248,7 +2248,10 @@ void renderStructure(STRUCTURE *psStructure)
mountImd[0] = psStructure->pStructureType->pECM->pMountGraphic;
flashImd[0] = NULL;
}
//check for sensor
}
if (weaponImd[0] == NULL) // not set above
{
//check for sensor (or repair center)
if (psStructure->pStructureType->pSensor != NULL)
{
weaponImd[0] = psStructure->pStructureType->pSensor->pIMD;
Expand Down

0 comments on commit 6bdd4cd

Please sign in to comment.