fix: save_property_location saves the position on the property too

The zone was saved on a property but the position wasn't (the physics
component kept its own "not a property" check), so logging back in put the
character at their old main world coordinates on the property map, outside
it. Both now use Character::SavesLocationInThisZone.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Aaron Kimbrell
2026-09-28 11:53:48 -05:00
parent 5596f0fa2d
commit 92a87fa735
3 changed files with 14 additions and 7 deletions

View File

@@ -102,6 +102,11 @@ public:
*/
uint32_t GetPropertyCloneID() const { return m_PropertyCloneID; }
// Whether a character's location (zone and position) is saved in the zone this world runs, for logging back in
// there: not the character select world, nor where the zone says not to, nor a property (a clone) unless
// save_property_location is 1
static bool SavesLocationInThisZone();
/**
* Gets the last login of this character in MS
* @return the last login of this character