- fixed EnumerateChannels.

This commit is contained in:
Christoph Oelckers 2020-02-24 20:19:03 +01:00
parent 920f424184
commit fe1133e5c2
2 changed files with 3 additions and 2 deletions

View File

@ -383,7 +383,7 @@ public:
FSoundChan* chan = Channels;
while (chan)
{
auto next = chan = chan->NextChan;
auto next = chan->NextChan;
int res = callback(chan);
if (res) return res > 0;
chan = next;

View File

@ -28,7 +28,8 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
BEGIN_PS_NS
short bShowTowers = kFalse;int ldMapZoom;
short bShowTowers = kFalse;
int ldMapZoom;
int lMapZoom;
void MarkSectorSeen(short nSector);