aboutsummaryrefslogtreecommitdiffstats
path: root/yage/core/spritesheet.cpp
diff options
context:
space:
mode:
authorYann Herklotz <ymherklotz@gmail.com>2017-12-23 01:37:09 +0000
committerYann Herklotz <ymherklotz@gmail.com>2017-12-23 01:40:47 +0000
commitddd26ed83d3ac0335562f762ced273a1d62bd959 (patch)
treea697de87564846e784fd1256d71c94270d8ec51d /yage/core/spritesheet.cpp
parent0ac42fb77773e15b13f1ede01dd1efd920a8fb9b (diff)
downloadYAGE-ddd26ed83d3ac0335562f762ced273a1d62bd959.tar.gz
YAGE-ddd26ed83d3ac0335562f762ced273a1d62bd959.zip
[Style] Updated style in files.
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()) {