- Fixed: DThinker::SerializeAll() did not serialize any thinkers in the
FreshThinkers lists. These thinkers would still be saved in the savegame if there were other references to them, but they would not go in any thinker lists when loading the savegame. An easy way to exercise this bug is to give yourself something new with the console and then save the game right away without closing the console by using the "save" command. The item would be stored in the savegame thanks to its presence in the Inventory list, but it wouldn't be in a thinker list when the game was reloaded because it was still in the FreshThinkers list when the game was saved. SVN r763 (trunk)
This commit is contained in:
parent
0dccb97819
commit
60472c2b45
4 changed files with 44 additions and 22 deletions
|
|
@ -1257,9 +1257,9 @@ CCMD (printinv)
|
|||
}
|
||||
for (item = players[pnum].mo->Inventory; item != NULL; item = item->Inventory)
|
||||
{
|
||||
Printf ("%s #%u (%d/%d) <%p/%p>\n", item->GetClass()->TypeName.GetChars(),
|
||||
Printf ("%s #%u (%d/%d)\n", item->GetClass()->TypeName.GetChars(),
|
||||
item->InventoryID,
|
||||
item->Amount, item->MaxAmount, static_cast<Node*>(item)->Pred, item->Succ);
|
||||
item->Amount, item->MaxAmount);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue