Files @ r27963:438e2b6f1de3
Branch filter:

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

PeterN
Fix: #11329: Don't assert vehicle list length is non-zero when only asked to set string parameter. (#11330)

Since #11321, the vehicle list is not yet initialized when SetStringParameters is called, so a test that the vehicle list size is zero is triggered. However, doing this check in the SetStringParameters function is a bit out of its remit, so just remove it.
add_subdirectory(core)

add_files(
    network.cpp
    network.h
    network_admin.cpp
    network_admin.h
    network_base.h
    network_chat_gui.cpp
    network_client.cpp
    network_client.h
    network_command.cpp
    network_content.cpp
    network_content.h
    network_content_gui.cpp
    network_content_gui.h
    network_coordinator.cpp
    network_coordinator.h
    network_func.h
    network_gamelist.cpp
    network_gamelist.h
    network_gui.cpp
    network_gui.h
    network_internal.h
    network_query.cpp
    network_query.h
    network_server.cpp
    network_server.h
    network_stun.cpp
    network_stun.h
    network_survey.cpp
    network_survey.h
    network_turn.cpp
    network_turn.h
    network_type.h
    network_udp.cpp
    network_udp.h
)