Lephisto/src/rng.c
Allanis 223a6185fb [Add] Command line option.
[Add] Finished(tm) joypad support.
[Change] Input comes from player.
2013-02-01 02:32:29 +00:00

9 lines
116 B
C

#include <unistd.h>
#include <SDL.h>
#include "rng.h"
void rng_init(void) {
srand(getpid() + SDL_GetTicks());
}