| 105 | } |
| 106 | |
| 107 | S32 zNPCGoalPlayerNear::Exit(F32 dt, void* updCtxt) |
| 108 | { |
| 109 | zNPCVillager* npc = (zNPCVillager*)psyche->clt_owner; |
| 110 | |
| 111 | if (talk_glyph != NULL) |
| 112 | { |
| 113 | talk_glyph->Discard(); |
| 114 | } |
| 115 | talk_glyph = NULL; |
| 116 | |
| 117 | if (talk_font != NULL) |
| 118 | { |
| 119 | talk_font->Off(npc, 0); |
| 120 | } |
| 121 | talk_font = NULL; |
| 122 | |
| 123 | npc->TossMyConverse(); |
| 124 | flg_plyrnear = 0; |
| 125 | npc->RestoreColFlags(); |
| 126 | |
| 127 | return xGoal::Exit(dt, updCtxt); |
| 128 | } |
| 129 | |
| 130 | S32 zNPCGoalPlayerNear::Suspend(F32 dt, void* updCtxt) |
| 131 | { |
nothing calls this directly
no test coverage detected