| 293 | } |
| 294 | |
| 295 | void CPathPadDialog::OnSelendokPathpadPulldown() { |
| 296 | int i, cur; |
| 297 | char name[200]; |
| 298 | |
| 299 | cur = SendDlgItemMessage(IDC_PATHPAD_PULLDOWN, CB_GETCURSEL, 0, 0); |
| 300 | SendDlgItemMessage(IDC_PATHPAD_PULLDOWN, CB_GETLBTEXT, cur, (LPARAM)(LPCTSTR)name); |
| 301 | |
| 302 | i = FindGamePathName(name); |
| 303 | |
| 304 | D3EditState.current_path = i; |
| 305 | D3EditState.current_node = 0; |
| 306 | |
| 307 | State_changed = 1; |
| 308 | UpdateDialog(); |
| 309 | } |
| 310 | |
| 311 | void CPathPadDialog::OnPathpadCenterView() { |
| 312 | if (Num_game_paths < 1) { |
nothing calls this directly
no test coverage detected