| 259 | } |
| 260 | |
| 261 | void CPathPadDialog::OnPathpadMoveLeft() { |
| 262 | if (Num_game_paths < 1) { |
| 263 | MessageBox("There are no paths to operate on."); |
| 264 | return; |
| 265 | } |
| 266 | |
| 267 | int p = D3EditState.current_path; |
| 268 | int n = D3EditState.current_node; |
| 269 | |
| 270 | vector delta_movement = Viewer_object->orient.rvec * -D3EditState.node_movement_inc; |
| 271 | |
| 272 | MovePathNode(p, n, &delta_movement); |
| 273 | |
| 274 | World_changed = 1; |
| 275 | UpdateDialog(); |
| 276 | } |
| 277 | |
| 278 | void CPathPadDialog::OnPathpadMoveRight() { |
| 279 | if (Num_game_paths < 1) { |
nothing calls this directly
no test coverage detected