| 242 | } |
| 243 | |
| 244 | void CPathPadDialog::OnPathpadMoveBackward() { |
| 245 | if (Num_game_paths < 1) { |
| 246 | MessageBox("There are no paths to operate on."); |
| 247 | return; |
| 248 | } |
| 249 | |
| 250 | int p = D3EditState.current_path; |
| 251 | int n = D3EditState.current_node; |
| 252 | |
| 253 | vector delta_movement = Viewer_object->orient.fvec * -D3EditState.node_movement_inc; |
| 254 | |
| 255 | MovePathNode(p, n, &delta_movement); |
| 256 | |
| 257 | World_changed = 1; |
| 258 | UpdateDialog(); |
| 259 | } |
| 260 | |
| 261 | void CPathPadDialog::OnPathpadMoveLeft() { |
| 262 | if (Num_game_paths < 1) { |
nothing calls this directly
no test coverage detected