summaryrefslogtreecommitdiff
path: root/Sprite.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Sprite.cpp')
-rw-r--r--Sprite.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Sprite.cpp b/Sprite.cpp
index 373b04e..8d1441e 100644
--- a/Sprite.cpp
+++ b/Sprite.cpp
@@ -27,7 +27,7 @@ bool Sprite::visible() {
return isVisible;
}
-bool Sprite::setImage(std::string path) {
+void Sprite::setImage(std::string path) {
image = loadImage(path);
clip[0].x = 0;
clip[0].y = 0;