mirror of
https://github.com/raysan5/raylib.git
synced 2025-09-06 03:18:14 +00:00
Merge pull request #4839 from aidonmaster/patch-1
Converting int to char
This commit is contained in:
@@ -44,7 +44,11 @@ int main(void)
|
|||||||
|
|
||||||
spacing += (int)buildings[i].width;
|
spacing += (int)buildings[i].width;
|
||||||
|
|
||||||
buildColors[i] = (Color){ GetRandomValue(200, 240), GetRandomValue(200, 240), GetRandomValue(200, 250), 255 };
|
buildColors[i] = (Color){
|
||||||
|
(unsigned char)GetRandomValue(200, 240),
|
||||||
|
(unsigned char)GetRandomValue(200, 240),
|
||||||
|
(unsigned char)GetRandomValue(200, 250),
|
||||||
|
255};
|
||||||
}
|
}
|
||||||
|
|
||||||
Camera2D camera = { 0 };
|
Camera2D camera = { 0 };
|
||||||
|
Reference in New Issue
Block a user