summaryrefslogtreecommitdiffstats
path: root/MatchBloxEngine/MatchBloxEngine/C_Box.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'MatchBloxEngine/MatchBloxEngine/C_Box.cpp')
-rw-r--r--MatchBloxEngine/MatchBloxEngine/C_Box.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/MatchBloxEngine/MatchBloxEngine/C_Box.cpp b/MatchBloxEngine/MatchBloxEngine/C_Box.cpp
index e97e03a..9bde3ff 100644
--- a/MatchBloxEngine/MatchBloxEngine/C_Box.cpp
+++ b/MatchBloxEngine/MatchBloxEngine/C_Box.cpp
@@ -46,7 +46,7 @@ void C_Box::RandomizeTiles()
{
//generate a random number in the range
//0 - (l_iNumTiles-1)
- int pos = random() % l_iNumTiles;
+ int pos = rand() % l_iNumTiles;
//skip position in which we already inserted a hole
//type tile (type 4)