Fix compile-time error in "init_npc"