Fix wesnoth.map_location.get_relative_dir (GNA25657)
This commit is contained in:
parent
0f585a5807
commit
2b58109133
1 changed files with 1 additions and 1 deletions
|
@ -213,7 +213,7 @@ int intf_get_relative_dir(lua_State* L)
|
|||
return lua_error(L);
|
||||
}
|
||||
|
||||
const std::string dir = map_location::write_direction(l1.get_relative_dir(l1));
|
||||
const std::string dir = map_location::write_direction(l1.get_relative_dir(l2));
|
||||
lua_pushlstring(L, dir.c_str(), dir.length());
|
||||
return 1;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue