aboutsummaryrefslogtreecommitdiffstats
path: root/yage/core/spritesheet.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'yage/core/spritesheet.cpp')
-rw-r--r--yage/core/spritesheet.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/yage/core/spritesheet.cpp b/yage/core/spritesheet.cpp
index 7fbd19e9..4ecdcf71 100644
--- a/yage/core/spritesheet.cpp
+++ b/yage/core/spritesheet.cpp
@@ -55,7 +55,7 @@ SpriteMap SpriteSheet::parseJson(int &width, int &height,
Document jsonAtlas;
jsonAtlas.Parse(jsonContent.c_str());
- width = jsonAtlas["width"].GetInt();
+ width = jsonAtlas["width"].GetInt();
height = jsonAtlas["height"].GetInt();
for (auto &texture : jsonAtlas["sprites"].GetObject()) {