| 295 | } |
| 296 | |
| 297 | char pfile_get_player_class(unsigned int player_class_nr) |
| 298 | { |
| 299 | char pc_class; |
| 300 | |
| 301 | if (player_class_nr == UI_WARRIOR) |
| 302 | pc_class = PC_WARRIOR; |
| 303 | else if (player_class_nr == UI_ROGUE) |
| 304 | pc_class = PC_ROGUE; |
| 305 | else |
| 306 | pc_class = PC_SORCERER; |
| 307 | return pc_class; |
| 308 | } |
| 309 | |
| 310 | BOOL pfile_ui_save_create(_uiheroinfo *heroinfo) |
| 311 | { |
no outgoing calls
no test coverage detected