- 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; FSoundChan* chan = Channels;
while (chan) while (chan)
{ {
auto next = chan = chan->NextChan; auto next = chan->NextChan;
int res = callback(chan); int res = callback(chan);
if (res) return res > 0; if (res) return res > 0;
chan = next; chan = next;

View file

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