Files @ r26309:7005b7199dfe
Branch filter:

Location: cpp/openttd-patchpack/source/src/linkgraph/CMakeLists.txt

Patric Stout
Fix: commands with Axis in their arguments were not validated properly (#9943)

When you don't type an Enum, it is a signed value. To validate
if an Axis is valid, it is checked to be lower than AXIS_END. Which
is the case for any value below 0.
add_files(
    demands.cpp
    demands.h
    flowmapper.cpp
    flowmapper.h
    init.h
    linkgraph.cpp
    linkgraph.h
    linkgraph_base.h
    linkgraph_gui.cpp
    linkgraph_gui.h
    linkgraph_type.h
    linkgraphjob.cpp
    linkgraphjob.h
    linkgraphjob_base.h
    linkgraphschedule.cpp
    linkgraphschedule.h
    mcf.cpp
    mcf.h
    refresh.cpp
    refresh.h
)