diff options
| author | Jonathan Bradley <jcb@pikum.xyz> | 2025-07-17 14:50:05 -0400 |
|---|---|---|
| committer | Jonathan Bradley <jcb@pikum.xyz> | 2025-07-17 14:50:05 -0400 |
| commit | 8fbeadda53243b701957a26dba1113d84ad5c7c4 (patch) | |
| tree | d37007379260bd8e6ec2a9c24ff269a8b5875dff /example | |
| parent | f50804900157af65da50166325163444a78aaaec (diff) | |
pke: handle pk.h breaking changes
Diffstat (limited to 'example')
| -rw-r--r-- | example/example.cpp | 2 |
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); |
