summaryrefslogtreecommitdiff
path: root/object_base.cpp
diff options
context:
space:
mode:
authortomsmeding <tom.smeding@gmail.com>2016-12-30 21:04:57 +0100
committertomsmeding <tom.smeding@gmail.com>2016-12-30 21:04:57 +0100
commit9f84ef2686feab6c82f7f523319fda65ff077962 (patch)
treeb625f31ba5666694caa7ec77c75965c256f4519d /object_base.cpp
parent6c0a0cc29b00d0a58a3ee55a8a7e4909ebf3454c (diff)
Have draw_text working with SFML
Diffstat (limited to 'object_base.cpp')
-rw-r--r--object_base.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/object_base.cpp b/object_base.cpp
index 18d7e3a..ce97f2a 100644
--- a/object_base.cpp
+++ b/object_base.cpp
@@ -21,12 +21,12 @@ void Object::destroy(void){}
void Object::step(void){}
void Object::draw(void){
- if(!sprite_index){
+ /*if(!sprite_index){
return;
}
if(!sprite_index->fl_image){
sprite_index->fl_image=new Fl_PNG_Image(nullptr,sprite_index->image,sprite_index->image_len);
assert(!sprite_index->fl_image->fail());
}
- sprite_index->fl_image->draw((int)x,(int)y);
+ sprite_index->fl_image->draw((int)x,(int)y);*/
}