racemanagers.cpp: Do not list championship on no cars #22

Merged
xavi merged 2 commits from xavi/speed-dreams-code:fix-championship into main 2025-01-19 08:18:22 +01:00
Owner

Some championships depend on a given car category (e.g.: "36GP") that
might have not been installed yet by the user.

Making the championship not available fixes a out-of-bounds access when
reading VecCarCategoryIds in driverselect.cpp.

Some championships depend on a given car category (e.g.: "36GP") that might have not been installed yet by the user. Making the championship not available fixes a out-of-bounds access when reading VecCarCategoryIds in driverselect.cpp.
xavi added the
bug
label 2025-01-19 07:23:33 +01:00
xavi added 1 commit 2025-01-19 07:23:39 +01:00
racemanagers.cpp: Do not list championship on no cars
Some checks failed
/ build (pull_request) Failing after 42s
f593629982
Some championships depend on a given car category (e.g.: "36GP") that
might have not been installed yet by the user.

Making the championship not available fixes a out-of-bounds access when
reading VecCarCategoryIds in driverselect.cpp.
xavi added 1 commit 2025-01-19 08:18:06 +01:00
Bump speed-dreams-data
Some checks are pending
/ build (pull_request) Has started running
1531992af5
The following commit is related to recent fixes on championship mode:

commit 4af7c4d6f028dabf677941f0b5cdb96bae392648
Author: Xavier Del Campo Romero <xavi.dcr@tutanota.com>
Date:   Fri Jan 17 11:56:30 2025 +0100

    raceman: Remove fixed driver lists

    Drivers can be generated by users, driver indexes are re-computed on
    startup and no drivers are provided on a fresh installation, so it is no
    longer possible to set up a fixed list of drivers on each championship
    type.
xavi merged commit 4776e34329 into main 2025-01-19 08:18:22 +01:00
xavi deleted branch fix-championship 2025-01-19 08:18:28 +01:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: speed-dreams/speed-dreams-code#22
No description provided.