aboutsummaryrefslogtreecommitdiff
path: root/examples/core_random_values.c
diff options
context:
space:
mode:
authorraysan5 <raysan5@gmail.com>2016-01-16 12:52:55 +0100
committerraysan5 <raysan5@gmail.com>2016-01-16 12:52:55 +0100
commit183795b8aa78fdf0b8064d72d77eaea8e7b6397b (patch)
tree1d18bec6a5510d3c225f05d09cc9649492cb4209 /examples/core_random_values.c
parent91e00431d48ad90602af30ee015922243cf975cd (diff)
downloadraylib-183795b8aa78fdf0b8064d72d77eaea8e7b6397b.tar.gz
raylib-183795b8aa78fdf0b8064d72d77eaea8e7b6397b.zip
Review literals type
Diffstat (limited to 'examples/core_random_values.c')
-rw-r--r--examples/core_random_values.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/core_random_values.c b/examples/core_random_values.c
index 98e0e91e..06e550dd 100644
--- a/examples/core_random_values.c
+++ b/examples/core_random_values.c
@@ -22,7 +22,7 @@ int main()
int framesCounter = 0; // Variable used to count frames
- int randValue = GetRandomValue(-8,5); // Get a random integer number between -8 and 5 (both included)
+ int randValue = GetRandomValue(-8, 5); // Get a random integer number between -8 and 5 (both included)
SetTargetFPS(60); // Set our game to run at 60 frames-per-second
//--------------------------------------------------------------------------------------
@@ -37,7 +37,7 @@ int main()
// Every two seconds (120 frames) a new random value is generated
if (((framesCounter/120)%2) == 1)
{
- randValue = GetRandomValue(-8,5);
+ randValue = GetRandomValue(-8, 5);
framesCounter = 0;
}
//----------------------------------------------------------------------------------