summaryrefslogtreecommitdiff
path: root/goodies
diff options
context:
space:
mode:
authorJens-Heiner Rechtien <hr@openoffice.org>2005-02-11 18:30:32 +0000
committerJens-Heiner Rechtien <hr@openoffice.org>2005-02-11 18:30:32 +0000
commitfc80b47398faf6cbe23e62f2c45d2f36f981dc90 (patch)
treeb7777480e00c81bf645a0c764ec03d2943327e6c /goodies
parentd043e797c89375fac45db3e65b27dd4fc65c747b (diff)
INTEGRATION: CWS pj17 (1.2.82); FILE MERGED
2005/02/07 17:05:49 gh 1.2.82.1: some fixes for 32 bit random numbers + enhanced invisible
Diffstat (limited to 'goodies')
-rw-r--r--goodies/source/inv/invader1.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/goodies/source/inv/invader1.cxx b/goodies/source/inv/invader1.cxx
index 6653b151fa00..9110d645b364 100644
--- a/goodies/source/inv/invader1.cxx
+++ b/goodies/source/inv/invader1.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: invader1.cxx,v $
*
- * $Revision: 1.2 $
+ * $Revision: 1.3 $
*
- * last change: $Author: vg $ $Date: 2004-01-06 15:08:37 $
+ * last change: $Author: hr $ $Date: 2005-02-11 19:30:32 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -449,7 +449,7 @@ void MyWindow::RandomLevel()
for(long i=0; i<nPos ;i++)
{
- int nRan = rand() / 200;
+ int nRan = rand() % 40;
if(nRan < 3)
pGegner->InsertGegner(GEGNER5,ranpos[i*2+1],ranpos[i*2+2]);