| 347 | } |
| 348 | |
| 349 | void CPathPadDialog::OnPathpadMoveDown() { |
| 350 | if (Num_game_paths < 1) { |
| 351 | MessageBox("There are no paths to operate on."); |
| 352 | return; |
| 353 | } |
| 354 | |
| 355 | int p = D3EditState.current_path; |
| 356 | int n = D3EditState.current_node; |
| 357 | |
| 358 | vector delta_movement = Viewer_object->orient.uvec * -D3EditState.node_movement_inc; |
| 359 | |
| 360 | MovePathNode(p, n, &delta_movement); |
| 361 | |
| 362 | World_changed = 1; |
| 363 | UpdateDialog(); |
| 364 | } |
| 365 | |
| 366 | void CPathPadDialog::OnPathpadMoveUp() { |
| 367 | if (Num_game_paths < 1) { |
nothing calls this directly
no test coverage detected