diff options
author | Clyne Sullivan <tullivan99@gmail.com> | 2016-05-09 07:42:18 -0400 |
---|---|---|
committer | Clyne Sullivan <tullivan99@gmail.com> | 2016-05-09 07:42:18 -0400 |
commit | 50bfb70e9a1788e6f64800001919e3d8386eb81d (patch) | |
tree | 2c41ac01a6212a9cd3c6d304e161b9e6d073e815 /src/brice.cpp | |
parent | bc92962aff14805d5920f5a82628648d1c1fe4fd (diff) |
world draw fixes
Diffstat (limited to 'src/brice.cpp')
-rw-r--r-- | src/brice.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/brice.cpp b/src/brice.cpp index fef336e..6b64d88 100644 --- a/src/brice.cpp +++ b/src/brice.cpp @@ -50,11 +50,13 @@ namespace game { } void briceLoad(void) { - const std::string data = readFile("brice.dat"); + const char *data = readFile("brice.dat"); auto datas = StringTokenizer(data, ','); for (const auto& d : datas) std::cout << d << '\n'; + + delete[] data; } void briceUpdate(void) { |