mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-10-18 15:37:40 +00:00
cleanup: arguments
This commit is contained in:
@@ -196,8 +196,8 @@ namespace mapstream {
|
||||
return dir;
|
||||
}
|
||||
|
||||
bool loadMap(const char *fname) {
|
||||
f = fopen(fname, "rb");
|
||||
bool loadMap(const string& fname) {
|
||||
f = fopen(fname.c_str(), "rb");
|
||||
if(!f) return false;
|
||||
clearMemory();
|
||||
int vernum = loadInt();
|
||||
|
Reference in New Issue
Block a user