Fixing compiler warnings about NPCTextControl enum.