mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-30 10:15:36 +01:00
Use named casts on openrct2/(util|windows|scenario|title) (#11146)
This commit is contained in:
@@ -377,7 +377,7 @@ namespace ScenarioSources
|
||||
{
|
||||
outDesc->title = desc->Title;
|
||||
outDesc->id = desc->Id;
|
||||
outDesc->source = (uint8_t)i;
|
||||
outDesc->source = static_cast<uint8_t>(i);
|
||||
outDesc->index = currentIndex;
|
||||
outDesc->category = desc->Category;
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user