Browse Source

Fix CharacterMap::Load always returning false #2349

CharacterMap::Load was always returning false, causing a problem on Entity::Load mainly.
Igor Segalla 6 years ago
parent
commit
8ae2a6c9c9
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Source/Urho3D/Urho2D/SpriterData2D.cpp

+ 1 - 1
Source/Urho3D/Urho2D/SpriterData2D.cpp

@@ -220,7 +220,7 @@ bool CharacterMap::Load(const pugi::xml_node& node)
             return false;
             return false;
     }
     }
 
 
-    return false;
+    return true;
 }
 }
 
 
 bool MapInstruction::Load(const pugi::xml_node& node)
 bool MapInstruction::Load(const pugi::xml_node& node)