mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-06 18:13:29 +00:00
Strip trailing whitespace.
This commit is contained in:
parent
8a833ddbd0
commit
cb42f5bf06
@ -3198,9 +3198,9 @@ static int intf_get_villages(lua_State *L)
|
||||
std::vector<map_location> locs = resources::game_map->villages();
|
||||
lua_newtable(L);
|
||||
int i = 1;
|
||||
|
||||
|
||||
vconfig filter = luaW_checkvconfig(L, 1);
|
||||
|
||||
|
||||
for(std::vector<map_location>::const_iterator it = locs.begin(); it != locs.end(); ++it) {
|
||||
bool matches = terrain_filter(filter, *resources::units).match(*it);
|
||||
if (matches) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user