src/aircraft_gui.cpp
changeset 9770 8c260fb382f8
parent 9274 42b67e65f1c2
child 9943 ccea23aec951
equal deleted inserted replaced
9769:4735b0ade87d 9770:8c260fb382f8
    70 		SpriteID rotor_sprite = GetCustomRotorSprite(v, true);
    70 		SpriteID rotor_sprite = GetCustomRotorSprite(v, true);
    71 		if (rotor_sprite == 0) rotor_sprite = SPR_ROTOR_STOPPED;
    71 		if (rotor_sprite == 0) rotor_sprite = SPR_ROTOR_STOPPED;
    72 		DrawSprite(rotor_sprite, PAL_NONE, x + 25, y + 5);
    72 		DrawSprite(rotor_sprite, PAL_NONE, x + 25, y + 5);
    73 	}
    73 	}
    74 	if (v->index == selection) {
    74 	if (v->index == selection) {
    75 		DrawFrameRect(x - 1, y - 1, x + 58, y + 21, 0xF, FR_BORDERONLY);
    75 		DrawFrameRect(x - 1, y - 1, x + 58, y + 21, COLOUR_WHITE, FR_BORDERONLY);
    76 	}
    76 	}
    77 }
    77 }
    78 
    78 
    79 /**
    79 /**
    80  * This is the Callback method after the construction attempt of an aircraft
    80  * This is the Callback method after the construction attempt of an aircraft