mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2026-07-24 03:56:43 +00:00
Codechange: make Subdirectory a scoped enum
This commit is contained in:
committed by
Peter Nelson
parent
93a6aa77c6
commit
5aae8e2d64
+1
-1
@@ -37,7 +37,7 @@ static void OpenBankFile(const std::string &filename)
|
||||
/* If there is no sound file (nosound set), don't load anything */
|
||||
if (filename.empty()) return;
|
||||
|
||||
original_sound_file = std::make_unique<RandomAccessFile>(filename, BASESET_DIR);
|
||||
original_sound_file = std::make_unique<RandomAccessFile>(filename, Subdirectory::Baseset);
|
||||
size_t pos = original_sound_file->GetPos();
|
||||
uint count = original_sound_file->ReadDword();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user