4

I picked up a passenger and the house name for this passenger, "Wigglesworth Hall," doesn't exist in HOUSES, so my call to get the lat and long for that name fails when I loop through the passengers in the shuttle.

However this name doesn't exist in BUILDINGS either.

How am I supposed to proceed to get the lat and long? Is there a cross reference that I'm missing?

6

The spec says

Incidentally, be sure not to let drivers pick up any freshmen (i.e., anyone whose home isn’t in js/houses.js)!

So you shouldn't pick up that person.

Hope that helps, Brenda

2
  • I missed that, thank you!
    – hansinla
    Jun 9 '14 at 6:31
  • You're welcome @hansinla. It's easy to miss things like that that are buried in a long page of text. :)
    – curiouskiwi
    Jun 9 '14 at 7:03

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .