diff options
author | Eugenio Favalli <elvenprogrammer@gmail.com> | 2005-12-18 16:48:14 +0000 |
---|---|---|
committer | Eugenio Favalli <elvenprogrammer@gmail.com> | 2005-12-18 16:48:14 +0000 |
commit | c35ce879333e5525e4d5075dd04a34cbeb01602d (patch) | |
tree | b8af0fd8abc4ac700773fb35ee8bc86f4029193f /src/main.cpp | |
parent | 8d4db9bd41eca76fb7a46fe235695f7a50ecd5e9 (diff) | |
download | mana-client-c35ce879333e5525e4d5075dd04a34cbeb01602d.tar.gz mana-client-c35ce879333e5525e4d5075dd04a34cbeb01602d.tar.bz2 mana-client-c35ce879333e5525e4d5075dd04a34cbeb01602d.tar.xz mana-client-c35ce879333e5525e4d5075dd04a34cbeb01602d.zip |
Removed unused code and added changes to snowy map by Bertram.
Diffstat (limited to 'src/main.cpp')
-rw-r--r-- | src/main.cpp | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/src/main.cpp b/src/main.cpp index e745e7cd..03e6000f 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -316,21 +316,6 @@ void exit_engine() delete logger; } -/** Check to see if a file exists */ -int exists(const std::string &file) -{ - FILE *fp = NULL; - fp = fopen(file.c_str(), "r"); - if (!fp) - { - return false; - } - else { - fclose(fp); - return true; - } -} - struct Options { Options():printHelp(false),skipUpdate(false) {}; |