summaryrefslogtreecommitdiffhomepage
path: root/examples/core_random_values.c
diff options
context:
space:
mode:
authorvictorfisac <[email protected]>2016-02-26 14:32:30 +0100
committervictorfisac <[email protected]>2016-02-26 14:32:30 +0100
commitce56fcb1eda06385b88c1a906f0968d742ff8130 (patch)
tree4c82fa8ce61db1ae4af3ab1e174dd8c7d5918919 /examples/core_random_values.c
parentf582ab06add085594f2579ee6e7d625212abd204 (diff)
parent75a73d94171051037fcf670852877977d9251520 (diff)
downloadraylib-ce56fcb1eda06385b88c1a906f0968d742ff8130.tar.gz
raylib-ce56fcb1eda06385b88c1a906f0968d742ff8130.zip
Merge remote-tracking branch 'refs/remotes/raysan5/master'
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;
}
//----------------------------------------------------------------------------------