Skip to content

Commit

Permalink
FIXED: Subtrack out the entire_min that we added in chunk
Browse files Browse the repository at this point in the history
  • Loading branch information
unknown authored and unknown committed Mar 30, 2010
1 parent 1f30f25 commit 4d6a4a5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/world/area.cc
Expand Up @@ -256,7 +256,7 @@ bool area::put_state (base::flat & file) const
base::flat anonym;
for (j = data.Anonymous.begin(); j != data.Anonymous.end(); j++)
{
(*j)->Min.put_state (anonym);
((*j)->Min - (*j)->get_object()->entire_min()).put_state (anonym);
}

entity.put_flat ("anonym", anonym);
Expand All @@ -269,7 +269,7 @@ bool area::put_state (base::flat & file) const
for (j = data.Named.begin(); j != data.Named.end(); j++)
{
named.put_string ("id", *((*j)->get_entity()->id()));
(*j)->Min.put_state (named);
((*j)->Min - (*j)->get_object()->entire_min()).put_state (named);
}

entity.put_flat ("named", named);
Expand Down

0 comments on commit 4d6a4a5

Please sign in to comment.