From 8fbeadda53243b701957a26dba1113d84ad5c7c4 Mon Sep 17 00:00:00 2001 From: Jonathan Bradley Date: Thu, 17 Jul 2025 14:50:05 -0400 Subject: pke: handle pk.h breaking changes --- example/example.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'example') diff --git a/example/example.cpp b/example/example.cpp index cb0b9be..d9707fa 100644 --- a/example/example.cpp +++ b/example/example.cpp @@ -18,7 +18,7 @@ void OnEntityCollision(const void *lhs, const void *rhs) { void OnInit() { // create/register entity types pkePluginInterface.PkeEntityInterfaceCount = 1; - pkePluginInterface.PkeEntityInterface = pk_new(1); + pkePluginInterface.PkeEntityInterface = pk_new_arr(1); // set up entity types auto *typeIntfs = reinterpret_cast(pkePluginInterface.PkeEntityInterface); -- cgit v1.2.3