X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Fobject%2Flight.cpp;h=a0abfcf39e23ffb07c5904a02edd964ac035d2ab;hb=08ccb17345a52f5ffd8a5dd6ecf675cad55f16a7;hp=1675cf27525998c0971ebf13f22844bda4480a7f;hpb=14bdea449bc5bae5aa0d1f9150967f1c86b893a2;p=supertux.git diff --git a/src/object/light.cpp b/src/object/light.cpp index 1675cf275..a0abfcf39 100644 --- 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(); } -