mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-03-22 15:05:03 +01:00
Fixup of "probability" logic expression check
This commit is contained in:
@@ -192,7 +192,7 @@ basic_event::event_conditions::deserialize( cParser &Input ) {
|
||||
else if( token == "trackfree" ) {
|
||||
flags |= flags::track_free;
|
||||
}
|
||||
else if( token == "propability" || "probability") { //remove propability in few years after changing old scenery scripts 01.2021
|
||||
else if( ( token == "propability" ) || ( token == "probability" )) { //remove propability in few years after changing old scenery scripts 01.2021
|
||||
flags |= flags::probability;
|
||||
Input.getTokens();
|
||||
Input >> probability;
|
||||
|
||||
Reference in New Issue
Block a user