diff --git a/source/common/sound/s_soundinternal.h b/source/common/sound/s_soundinternal.h index 7ca857b20..b7df05e2f 100644 --- a/source/common/sound/s_soundinternal.h +++ b/source/common/sound/s_soundinternal.h @@ -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; diff --git a/source/exhumed/src/map.cpp b/source/exhumed/src/map.cpp index 192318dbf..4107dde6d 100644 --- a/source/exhumed/src/map.cpp +++ b/source/exhumed/src/map.cpp @@ -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);