Permalink
Browse files

engine: revert a change tha slipped in by mistake

  • Loading branch information...
mcallegari committed Dec 9, 2018
1 parent c6de3e2 commit b40078c37eae527c8f6e308ea08cb68bd578385c
Showing with 3 additions and 3 deletions.
  1. +3 −3 engine/src/genericfader.cpp
@@ -234,10 +234,10 @@ void GenericFader::setFadeOut(bool enable, uint fadeTime)
while (it.hasNext() == true)
{
FadeChannel& fc(it.next().value());
//int channelType = fc.type();
int channelType = fc.type();

//if ((channelType & FadeChannel::Intensity) == 0)
// continue;
if ((channelType & FadeChannel::Intensity) == 0)
continue;

fc.setStart(fc.current());
fc.setTarget(0);

0 comments on commit b40078c

Please sign in to comment.