Browse Source

Capitalize CrowdAgent enum attributes for consistency with other components. Loading is case-insensitive so this does not break existing scenes.

Lasse Öörni 9 years ago
parent
commit
2c8ed38a65
1 changed files with 9 additions and 9 deletions
  1. 9 9
      Source/Urho3D/Navigation/CrowdAgent.cpp

+ 9 - 9
Source/Urho3D/Navigation/CrowdAgent.cpp

@@ -55,23 +55,23 @@ static const unsigned SCOPE_NAVIGATION_PUSHINESS_PARAMS = 2;
 static const unsigned SCOPE_BASE_PARAMS = M_MAX_UNSIGNED & ~SCOPE_NAVIGATION_QUALITY_PARAMS & ~SCOPE_NAVIGATION_PUSHINESS_PARAMS;
 static const unsigned SCOPE_BASE_PARAMS = M_MAX_UNSIGNED & ~SCOPE_NAVIGATION_QUALITY_PARAMS & ~SCOPE_NAVIGATION_PUSHINESS_PARAMS;
 
 
 static const char* crowdAgentRequestedTargetTypeNames[] = {
 static const char* crowdAgentRequestedTargetTypeNames[] = {
-    "none",
-    "position",
-    "velocity",
+    "None",
+    "Position",
+    "Velocity",
     0
     0
 };
 };
 
 
 static const char* crowdAgentAvoidanceQualityNames[] = {
 static const char* crowdAgentAvoidanceQualityNames[] = {
-    "low",
-    "medium",
-    "high",
+    "Low",
+    "Medium",
+    "High",
     0
     0
 };
 };
 
 
 static const char* crowdAgentPushinessNames[] = {
 static const char* crowdAgentPushinessNames[] = {
-    "low",
-    "medium",
-    "high",
+    "Low",
+    "Medium",
+    "High",
     0
     0
 };
 };