Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 9959


Ignore:
Timestamp:
Jan 3, 2014, 8:49:30 PM (11 years ago)
Author:
landauf
Message:

don't re-initialize the random number generator - we already do this in Core::initRandomNumberGenerator()

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/trunk/src/modules/invader/Invader.cc

    r9956 r9959  
    113113        if (getPlayer() == NULL)
    114114            return;
    115         srand(player->getPosition().x + player->getPosition().y);
     115
    116116        for (int i = 0; i < (3*log10(static_cast<double>(level)) + 1); i++)
    117117        {
Note: See TracChangeset for help on using the changeset viewer.