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 09c344e3..e18d7fe8 100644
--- a/yage/core/spritesheet.cpp
+++ b/yage/core/spritesheet.cpp
@@ -35,7 +35,7 @@ SpriteSheet::SpriteSheet(string pngFileName, string jsonFileName)
if (texture_.width != jsonWidth)
throw runtime_error("JSON width does not match texture width");
- if (texture_.height != jsonHeight)
+ if (texture_.height != jsonHeight)
throw runtime_error("JSON height does not match texture height");
}