diff options
Diffstat (limited to 'test/src/unit/ActorTests.cpp')
| -rw-r--r-- | test/src/unit/ActorTests.cpp | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/test/src/unit/ActorTests.cpp b/test/src/unit/ActorTests.cpp index 522d230..1dc23dc 100644 --- a/test/src/unit/ActorTests.cpp +++ b/test/src/unit/ActorTests.cpp @@ -109,19 +109,16 @@ static void blast(std::set<NvBlastActor*>& actorsToDamage, GeneratorAsset* testA std::vector<char> splitScratch; std::vector<NvBlastActor*> newActorsBuffer(testAsset->solverChunks.size()); - NvBlastExtRadialDamageDesc damage[] = { - { - compressiveDamage, - { localPos.x, localPos.y, localPos.z }, - minRadius, - maxRadius - } + NvBlastExtRadialDamageDesc damage = { + compressiveDamage, + { localPos.x, localPos.y, localPos.z }, + minRadius, + maxRadius }; - NvBlastProgramParams programParams = + NvBlastExtProgramParams programParams = { &damage, - 1, nullptr }; |