mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-03-22 15:05:03 +01:00
Sim (#11)
* Wheels animation distance changed to 200*D*LODbias * Fixed spelling error in event syntax; old one remains for compatibility. * Spelling error left in log text * Zamiana metalic na floata z wazonym efektem. # Conflicts: # shaders/light_common.glsl * Detail normalmap shaders @Jan21 * Explicit type conversion * Leftover metalic as bool * Syntax error * Normalmap sampling inside ParallaxMapping function
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" ) {
|
||||
else if( token == "propability" || "probability") { //remove propability in few years after changing old scenery scripts 01.2021
|
||||
flags |= flags::probability;
|
||||
Input.getTokens();
|
||||
Input >> probability;
|
||||
@@ -267,7 +267,7 @@ basic_event::event_conditions::export_as_text( std::ostream &Output ) const {
|
||||
}
|
||||
if( ( flags & flags::probability ) != 0 ) {
|
||||
Output
|
||||
<< "propability "
|
||||
<< "probability "
|
||||
<< probability << ' ';
|
||||
}
|
||||
if( ( flags & ( flags::text | flags::value1 | flags::value2 ) ) != 0 ) {
|
||||
|
||||
Reference in New Issue
Block a user