| delorie.com/archives/browse.cgi | search |
| Date: | Wed, 21 Oct 1998 16:33:05 +0200 (IST) |
| From: | Eli Zaretskii <eliz AT is DOT elta DOT co DOT il> |
| X-Sender: | eliz AT is |
| To: | =?EUC-KR?B?w9a5rry6?= <supercms AT netian DOT com> |
| cc: | djgpp AT delorie DOT com |
| Subject: | Re: Plz..Allegro.. |
| In-Reply-To: | <362DC2D9.3F778C33@netian.com> |
| Message-ID: | <Pine.SUN.3.91.981021163220.25827A-100000@is> |
| MIME-Version: | 1.0 |
| X-MIME-Autoconverted: | from QUOTED-PRINTABLE to 8bit by delorie.com id KAA21309 |
| Reply-To: | djgpp AT delorie DOT com |
On Wed, 21 Oct 1998, =?EUC-KR?B?w9a5rry6?= wrote:
> void CreateEnemy()
> {
> word i=0;
> for (i=0; i<max_num; i++) //max_num˼ 5
> {
> if (enemy[i].isEnemy == False)
> {
> enemy[i].x = srandom(260) + 10;
Don't you mean to call `random' instead of `srandom' in the last line?
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |