projects
/
supertux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
No more count-to-infinity for the coins display
[supertux.git]
/
src
/
level.cpp
diff --git
a/src/level.cpp
b/src/level.cpp
index
dccfbd8
..
134f1f5
100644
(file)
--- a/
src/level.cpp
+++ b/
src/level.cpp
@@
-90,10
+90,9
@@
Level::load(const std::string& filepath)
add_sector(sector);
} else {
log_warning << "Unknown token '" << token << "' in level file" << std::endl;
add_sector(sector);
} else {
log_warning << "Unknown token '" << token << "' in level file" << std::endl;
- continue;
}
}
}
}
-
+
} catch(std::exception& e) {
std::stringstream msg;
msg << "Problem when reading level '" << filepath << "': " << e.what();
} catch(std::exception& e) {
std::stringstream msg;
msg << "Problem when reading level '" << filepath << "': " << e.what();