aboutsummaryrefslogtreecommitdiff
path: root/examples/core_random_values.c
diff options
context:
space:
mode:
authorvictorfisac <victorfisac@gmail.com>2016-01-20 13:48:00 +0100
committervictorfisac <victorfisac@gmail.com>2016-01-20 13:48:00 +0100
commitc04752c0e4b646638ce6adf991750763c2dbf393 (patch)
tree9fdafdbdd04dda343a25ac40768900d2d5016da6 /examples/core_random_values.c
parent4cc394c376c83926da67afe14855d2a3e2b06cfd (diff)
parent29c618a35e19c1c00be94bf423ad6af7ecf1d3f8 (diff)
downloadraylib-c04752c0e4b646638ce6adf991750763c2dbf393.tar.gz
raylib-c04752c0e4b646638ce6adf991750763c2dbf393.zip
Merge remote-tracking branch 'refs/remotes/raysan5/develop' into develop
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;
}
//----------------------------------------------------------------------------------