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.
Merge pull request #345 from zsilencer/master

window_research_development_paint() crash fix