window_research_development_paint() crash fix

When the Currently in development Type: is "Ride" the game will crash,
looks like the wrong value is ANDed.