fix(proximity): a proximity set again replaces the old one; UnsetProximityRadius

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Aaron Kimbrell
2026-10-01 03:29:42 -05:00
parent e34ae60724
commit 4fcce48397
2 changed files with 13 additions and 0 deletions

View File

@@ -45,6 +45,9 @@ public:
*/
void SetProximityRadius(dpEntity* entity, const std::string& name);
// Removes the proximity of that name (Lua UnsetProximityRadius)
void UnsetProximityRadius(const std::string& name);
/**
* Returns the last of entities that are used to check proximity, given a name
* @param name the proximity name to retrieve physics objects for