projects
/
supertux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Improved console rendering at 16:10 aspect ratio
[supertux.git]
/
src
/
object
/
light.cpp
diff --git
a/src/object/light.cpp
b/src/object/light.cpp
index
1675cf2
..
a0abfcf
100644
(file)
--- a/
src/object/light.cpp
+++ b/
src/object/light.cpp
@@
-50,8
+50,8
@@
Light::draw(DrawingContext& context)
sprite->set_color(color);
sprite->set_blend(Blend(GL_SRC_ALPHA, GL_ONE));
+ sprite->set_angle(90); // FIXME: color won't get applied for angle=0
sprite->draw(context, position, 0);
context.pop_target();
}
-