aboutsummaryrefslogtreecommitdiffstats
path: root/src/brice.cpp
diff options
context:
space:
mode:
authorClyne Sullivan <tullivan99@gmail.com>2017-02-11 11:24:52 -0500
committerClyne Sullivan <tullivan99@gmail.com>2017-02-11 11:24:52 -0500
commitea60f9f78bac505a5aeeb4d34b927f04ec3121b3 (patch)
tree15c617c9293c5a3b1011be0a19cb85396f49a3fc /src/brice.cpp
parent27892bc40122494385bdbe5eb84aee52737f9c13 (diff)
world bg, other fixes
Diffstat (limited to 'src/brice.cpp')
-rw-r--r--src/brice.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/brice.cpp b/src/brice.cpp
index e1a5b3e..638c02f 100644
--- a/src/brice.cpp
+++ b/src/brice.cpp
@@ -49,8 +49,7 @@ namespace game {
std::ofstream out ("brice.dat", std::ios::out | std::ios::binary);
std::string data = std::to_string(brice.size()) + '\n';
- if (!out.is_open())
- UserError("Cannot open brice data file");
+ UserAssert(out.is_open(), "Cannot open brice data file");
for (const auto& i : brice) {
data.append(i.first + '\n');