Move analogue mode filter update logic to fixed-timestep loop

Otherwise if the analogue filter is scrolling, it'll scroll by REALLY
fast.
This commit is contained in:
Misa
2020-05-02 20:27:47 -07:00
committed by Ethan Lee
parent 995f0f126f
commit 97b8e062ff
3 changed files with 14 additions and 4 deletions

View File

@@ -486,6 +486,11 @@ int main(int argc, char *argv[])
graphics.updatescreenshake();
}
if (graphics.screenbuffer->badSignalEffect)
{
UpdateFilter();
}
//We did editorinput, now it's safe to turn this off
key.linealreadyemptykludge = false;