summaryrefslogtreecommitdiffstats
path: root/src/core
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/core/Game.cpp3
-rw-r--r--src/core/Stats.cpp5
-rw-r--r--src/core/Stats.h1
3 files changed, 7 insertions, 2 deletions
diff --git a/src/core/Game.cpp b/src/core/Game.cpp
index d108c78d..6ba6b191 100644
--- a/src/core/Game.cpp
+++ b/src/core/Game.cpp
@@ -463,8 +463,7 @@ bool CGame::Initialise(const char* datFile)
#ifdef USE_TEXTURE_POOL
_TexturePoolsUnknown(true);
#endif
- // TODO(Miami)
- // DMAudio.SetStartingTrackPositions(1);
+ DMAudio.SetStartingTrackPositions(true);
DMAudio.ChangeMusicMode(MUSICMODE_GAME);
return true;
}
diff --git a/src/core/Stats.cpp b/src/core/Stats.cpp
index 1efcee01..9aff2758 100644
--- a/src/core/Stats.cpp
+++ b/src/core/Stats.cpp
@@ -447,6 +447,11 @@ void CStats::AddPropertyAsOwned(int32 id)
}
}
+float CStats::GetFavoriteRadioStationList(int32 station)
+{
+ return FavoriteRadioStationList[station];
+}
+
void CStats::SaveStats(uint8 *buf, uint32 *size)
{
CheckPointReachedSuccessfully();
diff --git a/src/core/Stats.h b/src/core/Stats.h
index f9ad4174..aac54af5 100644
--- a/src/core/Stats.h
+++ b/src/core/Stats.h
@@ -144,4 +144,5 @@ public:
static void LongestTimeInBloodRing(int32);
static void AddPropertyAsOwned(int32);
+ static float GetFavoriteRadioStationList(int32);
};