Merge pull request #4839 from aidonmaster/patch-1
Converting int to char
This commit is contained in:
commit
bbbdd1f080
1 changed files with 5 additions and 1 deletions
|
@ -44,7 +44,11 @@ int main(void)
|
|||
|
||||
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 };
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue