Ignore:
Timestamp:
Nov 10, 2003, 12:34:24 AM (17 years ago)
Author:
Sam Hocevar
Message:
  • src/*.c: + Added missing #include "config.h". + Fixed a nasty bug in ee_rand() calls.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • ttyvaders/trunk/src/aliens.c

    r90 r110  
    2121 */
    2222
     23#include "config.h"
     24
    2325#include <stdlib.h>
    2426
     
    7375            add_explosion(g, g->ex, al->x[i], al->y[i], 0, 0, EXPLOSION_MEDIUM);
    7476            al->type[i] = ALIEN_NONE;
    75             add_bonus(g, g->bo, al->x[i], al->y[i], ee_rand(0,5) ? BONUS_GREEN : BONUS_LIFE);
     77            add_bonus(g, g->bo, al->x[i], al->y[i], ee_rand(0,4) ? BONUS_GREEN : BONUS_LIFE);
    7678        }
    7779
Note: See TracChangeset for help on using the changeset viewer.