Fix an NPC initialization bug

Nasty little thing that could cause a crash at game start, due to an index being out-of-bounds.