Only draw dynamic zone compasses in non-instances

This fixes compasses being drawn in instances that use the same zone as compass

Also adds RemoveCompass method to quest api
This commit is contained in:
hg committed 2020-12-30 18:47:08 -05:00
1 parent 3f4ea66ea1
commit 33f2336244
3 files changed
+15 -8

No files matched your search

+1
View File
@@ -65,6 +65,7 @@ public:
luabind::object GetLockouts(lua_State* L);
bool HasLockout(std::string event_name);
bool HasReplayLockout();
void RemoveCompass();
void RemoveLockout(std::string event_name);
void SetCompass(uint32 zone_id, float x, float y, float z);
void SetCompass(std::string zone_name, float x, float y, float z);