From 03fe515fb07a30b831e1d1a90ad821ac9f1984a5 Mon Sep 17 00:00:00 2001 From: Jan Date: Mon, 18 Apr 2022 15:37:08 +0200 Subject: [PATCH] Fix compilation --- src/ObjWriting/Game/IW4/AssetDumpers/AssetDumperMaterial.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ObjWriting/Game/IW4/AssetDumpers/AssetDumperMaterial.cpp b/src/ObjWriting/Game/IW4/AssetDumpers/AssetDumperMaterial.cpp index e26facc0..fc16fd52 100644 --- a/src/ObjWriting/Game/IW4/AssetDumpers/AssetDumperMaterial.cpp +++ b/src/ObjWriting/Game/IW4/AssetDumpers/AssetDumperMaterial.cpp @@ -55,7 +55,7 @@ namespace IW4 return json{ {"floatTime", water->writable.floatTime}, {"H0", BuildComplexTableJson(water->H0, water->M * water->N)}, - {"wTerm", water->wTerm ? std::vector(water->wTerm, water->wTerm + (water->M * water->N)) : json::array()}, + {"wTerm", water->wTerm ? json{std::vector(water->wTerm, water->wTerm + (water->M * water->N))} : json::array()}, {"M", water->M}, {"N", water->N}, {"Lx", water->Lx},