fixed the way simulation.cc uses the lists of npcs in the tiles