| 2140 | } |
| 2141 | |
| 2142 | const char * |
| 2143 | Goodbye(void) |
| 2144 | { |
| 2145 | switch (Role_switch) { |
| 2146 | case PM_KNIGHT: |
| 2147 | return "Fare thee well"; /* Olde English */ |
| 2148 | case PM_SAMURAI: |
| 2149 | return "Sayonara"; /* Japanese */ |
| 2150 | case PM_TOURIST: |
| 2151 | return "Aloha"; /* Hawaiian */ |
| 2152 | case PM_VALKYRIE: |
| 2153 | return "Farvel"; /* Norse */ |
| 2154 | default: |
| 2155 | return "Goodbye"; |
| 2156 | } |
| 2157 | } |
| 2158 | |
| 2159 | /* if pmindex is any player race (not necessarily the hero's), |
| 2160 | return a pointer to the races[] entry for it; if pmindex is for some |
no outgoing calls
no test coverage detected