Small code cleanup.

This commit is contained in:
onpon4 2016-11-28 15:35:26 -05:00
parent 49c3260dcc
commit 90450ee16e
1 changed files with 1 additions and 3 deletions

View File

@ -164,9 +164,7 @@ Object *bullet_getTarget(Object *bullet)
if (bullet->owner->flags & FL_WEAPCO) if (bullet->owner->flags & FL_WEAPCO)
{ {
i = (rand() % 10); if (CHANCE(0.1))
if (i < 1)
return &player; return &player;
} }