From 26984642c7d2a114c342bdb6ce64c65ee71c592c Mon Sep 17 00:00:00 2001 From: Luke Bratch Date: Fri, 12 Jul 2013 14:25:10 +0100 Subject: Sprite::setImage should be void, not bool --- Sprite.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Sprite.cpp') 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; -- cgit v1.2.3