If by "still works", you mean it results in the same shortest paths, here's a counter-example:
B --1-- C -- 1 -- D
| |
1 1
| |
S --3-- A ----1----
Using just path length, the shortest path from S to A, will be via the edge from S to A. Using path length + max weight, the shortest path will be S to B to C to D to A, (weight 5). S to A will be weight 6.