Correct &-operation not in brackets

This commit is contained in:
Gymnasiast committed 2015-06-09 20:11:48 +02:00
1 parent 7ed434a804
commit afb49855dd
1 file changed
+1 -1
+1 -1
View File
@@ -369,7 +369,7 @@ static void window_footpath_dropdown()
if (pathType->flags & flags)
continue;
// Skip queue lines of scenario editor-only paths (only applicable when the game is in sandbox mode)
if(widgetIndex == WIDX_QUEUELINE_TYPE && pathType->flags & 4)
if(widgetIndex == WIDX_QUEUELINE_TYPE && (pathType->flags & 4))
continue;
if (j == pathId)