Fixed serialization to string of location callable

This commit is contained in:
Bartek Waresiak 2008-08-17 11:04:07 +00:00
parent 9c9d889e6a
commit bf7a186449

View File

@ -62,7 +62,7 @@ int location_callable::do_compare(const game_logic::formula_callable* callable)
void location_callable::serialize_to_string(std::string& str) const
{
std::ostringstream s;
s << "loc(" << loc_.x << "," << loc_.y << ")";
s << "loc(" << (loc_.x+1) << "," << (loc_.y+1) << ")";
str = s.str();
}