summaryrefslogtreecommitdiffstats
path: root/MatchBloxEngine/MatchBloxEngine/C_Box.cpp
diff options
context:
space:
mode:
authorDennis Peeten <dpeeten@onsneteindhoven.nl>2008-05-06 19:38:37 (GMT)
committerDennis Peeten <dpeeten@onsneteindhoven.nl>2008-05-06 19:38:37 (GMT)
commit177fd758a25e954a43c20e59e6e61ba15a661c44 (patch)
treee65059265b6abf4177833f9b7f54d8e04c91953d /MatchBloxEngine/MatchBloxEngine/C_Box.cpp
parentd205c9a71a2d3d415cb470c0c148a7541a18ab41 (diff)
download2iv55-177fd758a25e954a43c20e59e6e61ba15a661c44.zip
2iv55-177fd758a25e954a43c20e59e6e61ba15a661c44.tar.gz
2iv55-177fd758a25e954a43c20e59e6e61ba15a661c44.tar.bz2
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)