mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-07 08:32:03 +00:00
Fixed serialization to string of location callable
This commit is contained in:
parent
9c9d889e6a
commit
bf7a186449
@ -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
|
void location_callable::serialize_to_string(std::string& str) const
|
||||||
{
|
{
|
||||||
std::ostringstream s;
|
std::ostringstream s;
|
||||||
s << "loc(" << loc_.x << "," << loc_.y << ")";
|
s << "loc(" << (loc_.x+1) << "," << (loc_.y+1) << ")";
|
||||||
str = s.str();
|
str = s.str();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user