From 4fb6c07535cff9a385344f5025b25892b828ebc4 Mon Sep 17 00:00:00 2001 From: Perttu Ahola Date: Sun, 25 Mar 2012 18:51:05 +0300 Subject: [PATCH] Change postfixes from N.ogg to .N.ogg in user/testsounds/ loader --- src/game.cpp | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/src/game.cpp b/src/game.cpp index 7515af8d..941f286d 100644 --- a/src/game.cpp +++ b/src/game.cpp @@ -887,15 +887,16 @@ public: m_fetched.insert(name); std::string base = porting::path_share + DIR_DELIM + "testsounds"; dst_paths.insert(base + DIR_DELIM + name + ".ogg"); - dst_paths.insert(base + DIR_DELIM + name + "1.ogg"); - dst_paths.insert(base + DIR_DELIM + name + "2.ogg"); - dst_paths.insert(base + DIR_DELIM + name + "3.ogg"); - dst_paths.insert(base + DIR_DELIM + name + "4.ogg"); - dst_paths.insert(base + DIR_DELIM + name + "5.ogg"); - dst_paths.insert(base + DIR_DELIM + name + "6.ogg"); - dst_paths.insert(base + DIR_DELIM + name + "7.ogg"); - dst_paths.insert(base + DIR_DELIM + name + "8.ogg"); - dst_paths.insert(base + DIR_DELIM + name + "9.ogg"); + dst_paths.insert(base + DIR_DELIM + name + ".0.ogg"); + dst_paths.insert(base + DIR_DELIM + name + ".1.ogg"); + dst_paths.insert(base + DIR_DELIM + name + ".2.ogg"); + dst_paths.insert(base + DIR_DELIM + name + ".3.ogg"); + dst_paths.insert(base + DIR_DELIM + name + ".4.ogg"); + dst_paths.insert(base + DIR_DELIM + name + ".5.ogg"); + dst_paths.insert(base + DIR_DELIM + name + ".6.ogg"); + dst_paths.insert(base + DIR_DELIM + name + ".7.ogg"); + dst_paths.insert(base + DIR_DELIM + name + ".8.ogg"); + dst_paths.insert(base + DIR_DELIM + name + ".9.ogg"); } }; -- 2.30.2