Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Save Location in UpdateCharacterStats() - Update OWSCharacterWithAbilities.cpp #135

Merged
merged 1 commit into from
Apr 19, 2024

Conversation

Sikhor
Copy link
Contributor

@Sikhor Sikhor commented Apr 18, 2024

Character always saved 0,0,0 as his position in the DB when logging off in the OpenWorldServer example project.

These Lines secure that position of the character is stored also.

Character always saved 0,0,0 as his position in the DB when logging off in the OpenWorldServer example project.

These Lines secure that position of the character is stored also.
Copy link
Owner

@Dartanlla Dartanlla left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Eventually I want to remove UpdateCharacterStats completely, but until then, this is a good fix to make sure it doesn't zero out the location and rotation.

@Dartanlla Dartanlla merged commit 4aca515 into Dartanlla:main Apr 19, 2024
1 check passed
oddballer pushed a commit to oddballer/OWS that referenced this pull request Jul 23, 2024
Save Location in UpdateCharacterStats() - Update OWSCharacterWithAbilities.cpp
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants