(svn r21239) -Codechange/Fix: [NewGRF] Use 0xFF instead of 0 as default value for visual effect. This makes setting train prop 22 to 0 actually work (Hirundo)

This commit is contained in:
rubidium
2010-11-18 14:20:03 +00:00
parent 1c7940255a
commit a56627cc77
5 changed files with 13 additions and 3 deletions

View File

@@ -79,6 +79,8 @@ enum VisualEffect {
VE_DISABLE_EFFECT = 6, ///< Flag to disable visual effect
VE_DISABLE_WAGON_POWER = 7, ///< Flag to disable wagon power
VE_DEFAULT = 0xFF, ///< Default value to indicate that visual effect should be based on engine class
};
/** Cached often queried values common to all vehicles. */