Ver código fonte

Fix typo.[ci skip]

aster2013 11 anos atrás
pai
commit
d17f5c3f57
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      Source/Engine/Urho2D/TileMapLayer2D.cpp

+ 1 - 1
Source/Engine/Urho2D/TileMapLayer2D.cpp

@@ -188,7 +188,7 @@ unsigned TileMapLayer2D::GetNumObjects() const
 
 
 TileObject2D* TileMapLayer2D::GetObject(unsigned index) const
 TileObject2D* TileMapLayer2D::GetObject(unsigned index) const
 {
 {
-    if (objectGroup_)
+    if (!objectGroup_)
         return 0;
         return 0;
 
 
     return objectGroup_->GetObject(index);
     return objectGroup_->GetObject(index);