mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2026-10-22 20:52:49 +00:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user