Browse Source

Fixed typo.

aster2013 11 years ago
parent
commit
1e9a101c40
1 changed files with 2 additions and 2 deletions
  1. 2 2
      Source/Engine/Urho2D/Animation2D.cpp

+ 2 - 2
Source/Engine/Urho2D/Animation2D.cpp

@@ -65,7 +65,7 @@ bool Animation2D::Load(Deserializer& source)
 
 
     SetMemoryUse(source.GetSize());
     SetMemoryUse(source.GetSize());
 
 
-    XMLElement rootElem = xmlFile->GetRoot("Animaiton");
+    XMLElement rootElem = xmlFile->GetRoot("Animation");
     if (!rootElem)
     if (!rootElem)
     {
     {
         LOGERROR("Invalid animation");
         LOGERROR("Invalid animation");
@@ -80,7 +80,7 @@ bool Animation2D::Load(Deserializer& source)
         LOGERROR("Could not found key frame");
         LOGERROR("Could not found key frame");
         return false;
         return false;
     }
     }
-    
+
     float totalTime = 0.0f;
     float totalTime = 0.0f;
 
 
     while (keyFrameElem)
     while (keyFrameElem)