summaryrefslogtreecommitdiffhomepage
path: root/StarsEx/Explosion.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'StarsEx/Explosion.cpp')
-rw-r--r--StarsEx/Explosion.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/StarsEx/Explosion.cpp b/StarsEx/Explosion.cpp
index 1f613e7..925343d 100644
--- a/StarsEx/Explosion.cpp
+++ b/StarsEx/Explosion.cpp
@@ -203,7 +203,7 @@ Explosion::Initialize()
loader->SetDataPath("Explosions/");
int blocklen = loader->LoadBuffer(filename, block, true);
- Parser parser(new BlockReader((const char*) block, blocklen));
+ Parser parser({reinterpret_cast<const char*>(block), blocklen});
Term* term = parser.ParseTerm();
if (!term) {