Open akrieger opened 3 weeks ago
Failed to reproduce.
Loaded the save and got an error message about an index larger than the max. Skipped the error and the game started.
Moved a tile and a common error about extra digits after a number popped up. Ignored and continued.
Ordered Save & Quit, which was performed successfully.
OS: Windows
Game Version: 0.G-11578-gae2b99e06a [64-bit]
Graphics Version: Tiles
Game Language: System language []
Mods loaded: [ Dark Days Ahead [dda], Disable NPC Needs [no_npc_food], Portal Storms Ignore NPCs [personal_portal_storms], Slowdown Fungal Growth [no_fungal_growth] ]
So, no luck this time...
However, it seems item_location::impl::item_on_vehicle::position() might blow up if called on a vehicle_cursor created with ignore_vpart
= true. It seems odd to use part
if ignore_vpart
was set to true, and I wouldn't be shocked if part
was set to -1 in such a case.
I would suggest replacing
tripoint position() const override {
return cur.veh.global_part_pos3( cur.part );
}
with
tripoint position() const override {
if (ignore_vpart) {
return cur.veh.pos_bub().raw();
}
else {
return cur.veh.global_part_pos3( cur.part );
}
}
Describe the bug
Attach save file
IDK if this will repro because it happened mid-save so my save is probably corrupt now. 2kumo4me 2.zip
Steps to reproduce
Play game. Save. It crashes?
Expected behavior
No crash on save?
Screenshots
No response
Versions and configuration
Additional context
No response