fix [teleport]

This commit is contained in:
Dominic Bolin 2006-06-01 16:57:00 +00:00
parent d435c73279
commit fb81fbdaef

View file

@ -330,7 +330,7 @@ bool event_handler::handle_event_command(const queued_event& event_info,
const int side = u->second.side();
std::pair<gamemap::location,unit> *up = units->extract(u->first);
up->first = dst;
up->first = vacant_dst;
units->add(up);
if(game_map->is_village(vacant_dst)) {