| 128 | } |
| 129 | |
| 130 | S32 zNPCGoalPlayerNear::Suspend(F32 dt, void* updCtxt) |
| 131 | { |
| 132 | zNPCVillager* npc = (zNPCVillager*)psyche->clt_owner; |
| 133 | |
| 134 | if (talk_glyph != NULL) |
| 135 | { |
| 136 | talk_glyph->Enable(0); |
| 137 | } |
| 138 | |
| 139 | if (talk_font != NULL) |
| 140 | { |
| 141 | talk_font->Off(npc, 0); |
| 142 | } |
| 143 | |
| 144 | return xGoal::Suspend(dt, updCtxt); |
| 145 | } |
| 146 | |
| 147 | S32 zNPCGoalPlayerNear::Resume(F32 dt, void* updCtxt) |
| 148 | { |