summaryrefslogtreecommitdiff
path: root/example
diff options
context:
space:
mode:
Diffstat (limited to 'example')
-rw-r--r--example/example.cpp2
1 files changed, 1 insertions, 1 deletions
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<PkeEntityTypeInterface>(1);
+ pkePluginInterface.PkeEntityInterface = pk_new_arr<PkeEntityTypeInterface>(1);
// set up entity types
auto *typeIntfs = reinterpret_cast<PkeEntityTypeInterface *>(pkePluginInterface.PkeEntityInterface);