From 0da2250efea89bce0b15d3c8de61434bec38f7ba Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Sun, 7 Nov 2021 22:14:58 +0100 Subject: [PATCH] - Exhumed: try to improve timing of the menu plasma. --- source/games/exhumed/src/2d.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/games/exhumed/src/2d.cpp b/source/games/exhumed/src/2d.cpp index 49e71090b..261f71d1b 100644 --- a/source/games/exhumed/src/2d.cpp +++ b/source/games/exhumed/src/2d.cpp @@ -107,9 +107,9 @@ void menu_DoPlasma() int ptile = nPlasmaTile; int pclock = I_GetBuildTime(); - if (pclock >= nextPlasmaTic || !PlasmaBuffer) + while (pclock >= nextPlasmaTic || !PlasmaBuffer) { - nextPlasmaTic = pclock + 4; + nextPlasmaTic += 4; if (!PlasmaBuffer) {