# HG changeset patch # User Tony Vroon # Date 1241395581 -3600 # Node ID d243a544f60b106fde766dbb2d402f6dd326be9e # Parent 90cdddf6f1c150df8f19a306590e00c92096e2b2 Warning fix from Mark Loeser . diff -r 90cdddf6f1c1 -r d243a544f60b src/adplug/core/lds.cxx --- a/src/adplug/core/lds.cxx Mon May 04 00:00:36 2009 +0100 +++ b/src/adplug/core/lds.cxx Mon May 04 01:06:21 2009 +0100 @@ -259,8 +259,11 @@ comhi = comword >> 8; comlo = comword & 0xff; if (comword) + { if (comhi == 0x80) + { c->packwait = comlo; + } else if (comhi >= 0x80) { switch (comhi) @@ -384,6 +387,7 @@ c->chancheat.high = high; } } + } c->packpos++; }