| 225 | } |
| 226 | |
| 227 | void CPathPadDialog::OnPathpadMoveForward() { |
| 228 | if (Num_game_paths < 1) { |
| 229 | MessageBox("There are no paths to operate on."); |
| 230 | return; |
| 231 | } |
| 232 | |
| 233 | int p = D3EditState.current_path; |
| 234 | int n = D3EditState.current_node; |
| 235 | |
| 236 | vector delta_movement = Viewer_object->orient.fvec * D3EditState.node_movement_inc; |
| 237 | |
| 238 | MovePathNode(p, n, &delta_movement); |
| 239 | |
| 240 | World_changed = 1; |
| 241 | UpdateDialog(); |
| 242 | } |
| 243 | |
| 244 | void CPathPadDialog::OnPathpadMoveBackward() { |
| 245 | if (Num_game_paths < 1) { |
nothing calls this directly
no test coverage detected