-
Notifications
You must be signed in to change notification settings - Fork 42
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
Items are wiped when loading a save file. #324
Comments
This bug is quite mystifying. As far as I can tell, it goes wrong right here: cboe/src/fileio/fileio_party.cpp Line 271 in f083965
But how it can possibly go wrong there, I've yet to figure out. |
I put a breakpoint on that line and the debugger didn't stop at it. Maybe that's not where it goes wrong? |
Ah the breakpoint worked when I put in on the corresponding line in the v2 function. |
More specifically, it goes wrong when the adventurers array is swapped, like we talked about on IRC: Line 167 in 32f24b4
In my debugger when I open the party, I'm actually finding that a breakpoint on that line triggers TWICE. The first time, items are preserved. The second time, they get wiped. Are we expecting it to be called twice? (Edit: I'm using this debugger Watch expression to monitor the items: |
Fixed in #328. |
On Linux, when I create a new party in-game, save, close the game, open it and load the party, they won't have any items.
The same goes for opening any party in the character editor.
The text was updated successfully, but these errors were encountered: