Skip to content

Conversation

@wvpm
Copy link
Contributor

@wvpm wvpm commented Nov 22, 2025

The NULL_INDEX should have been changed to province number.
All conversions between index and number are now handled by the ProvinceDefinition, no more +/- 1 yourself.
Vectors are wrapped as TypedSpans for type safety and to reduce type_safe::get(x).
Cases where index or number were used incorrectly are fixed.

@wvpm wvpm added bug Something isn't working topic:map labels Nov 22, 2025
@wvpm wvpm force-pushed the fix_province_number_mess branch from d3073f8 to 52ad2d2 Compare November 22, 2025 10:16
@wvpm wvpm force-pushed the fix_province_number_mess branch from 6f28d95 to 765363a Compare November 22, 2025 10:18
@wvpm wvpm enabled auto-merge November 22, 2025 10:40
@wvpm wvpm merged commit 82757cf into master Nov 22, 2025
16 checks passed
@Spartan322 Spartan322 deleted the fix_province_number_mess branch November 22, 2025 15:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working topic:map

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants