| 364 | } |
| 365 | |
| 366 | void CPathPadDialog::OnPathpadMoveUp() { |
| 367 | if (Num_game_paths < 1) { |
| 368 | MessageBox("There are no paths to operate on."); |
| 369 | return; |
| 370 | } |
| 371 | |
| 372 | int p = D3EditState.current_path; |
| 373 | int n = D3EditState.current_node; |
| 374 | |
| 375 | vector delta_movement = Viewer_object->orient.uvec * D3EditState.node_movement_inc; |
| 376 | |
| 377 | MovePathNode(p, n, &delta_movement); |
| 378 | |
| 379 | World_changed = 1; |
| 380 | UpdateDialog(); |
| 381 | } |
| 382 | |
| 383 | void CPathPadDialog::OnPathpadPrevNode() { |
| 384 | if (Num_game_paths < 1) |
nothing calls this directly
no test coverage detected