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.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Sprite.h') diff --git a/Sprite.h b/Sprite.h index 72a5270..ba32799 100644 --- a/Sprite.h +++ b/Sprite.h @@ -21,7 +21,7 @@ class Sprite { bool visible(); // Load in this sprite's image - bool setImage(std::string path); + void setImage(std::string path); // TODO: Add method that can set reference to an already loaded image // This sprite's image SDL_Surface *image; -- cgit v1.2.3