summaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authorIra Rice <irarice@gmail.com>2008-10-12 21:28:46 +0000
committerIra Rice <irarice@gmail.com>2008-10-12 21:28:46 +0000
commit1c337aae30b334d99a5ec81269f2c6d35b8004ea (patch)
tree91f7b6ab4d0eb634a088e9e24891b59132dde77e /src/main.cpp
parent59270a5883ed88e3abe07dc8aae1397d0841b314 (diff)
downloadmana-client-1c337aae30b334d99a5ec81269f2c6d35b8004ea.tar.gz
mana-client-1c337aae30b334d99a5ec81269f2c6d35b8004ea.tar.bz2
mana-client-1c337aae30b334d99a5ec81269f2c6d35b8004ea.tar.xz
mana-client-1c337aae30b334d99a5ec81269f2c6d35b8004ea.zip
Added in a new tileset, as well as some new artwork, changed the update
handler to store updates in a subfolder based on port (so that if one server domain hosts multiple update folders, that it doesn't have to redownload an update should an update have the same name as the other server, as well as a different checksum), and made the inventory window display the units of measurement (for all of those people that wanted to know exactly what those units were supposed to be).
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.cpp b/src/main.cpp
index f9061c42..3755ad03 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -177,7 +177,7 @@ void setUpdatesDir()
if (pos != updateHost.npos) {
if (pos + 3 < updateHost.length()) {
updates << "updates/" << updateHost.substr(pos + 3)
- << "-" << loginData.port;
+ << "/" << loginData.port;
updatesDir = updates.str();
} else {
logger->log("Error: Invalid update host: %s", updateHost.c_str());
@@ -186,7 +186,7 @@ void setUpdatesDir()
}
} else {
logger->log("Warning: no protocol was specified for the update host");
- updates << "updates/" << updateHost << "-" << loginData.port;
+ updates << "updates/" << updateHost << "/" << loginData.port;
updatesDir = updates.str();
}