diff options
Diffstat (limited to 'src/map/atcommand.c')
-rw-r--r-- | src/map/atcommand.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/atcommand.c b/src/map/atcommand.c index d5a8e75e0..6ad69e5e3 100644 --- a/src/map/atcommand.c +++ b/src/map/atcommand.c @@ -6251,7 +6251,7 @@ ACMD_FUNC(pettalk) }; int i; ARR_FIND( 0, ARRAYLENGTH(emo), i, stricmp(message, emo[i]) == 0 ); - if( i == E_DICE1 ) i = rand()%6 + E_DICE1; // randomize /dice + if( i == E_DICE1 ) i = rnd()%6 + E_DICE1; // randomize /dice if( i < ARRAYLENGTH(emo) ) { if (sd->emotionlasttime + 1 >= time(NULL)) { // not more than 1 per second |