summaryrefslogtreecommitdiff
path: root/Sprite.cpp
diff options
context:
space:
mode:
authorLuke Bratch <l_bratch@yahoo.co.uk>2013-07-12 14:25:10 +0100
committerLuke Bratch <l_bratch@yahoo.co.uk>2013-07-12 14:25:10 +0100
commit26984642c7d2a114c342bdb6ce64c65ee71c592c (patch)
tree4f8486e9b83ce0fdd6ee956dec23a9db7934902b /Sprite.cpp
parentaa0544a73122cd4f18bfcb28e8ddebf348686f5d (diff)
Sprite::setImage should be void, not boolHEADmaster
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;