Small code cleanup.
This commit is contained in:
parent
49c3260dcc
commit
90450ee16e
|
@ -164,9 +164,7 @@ Object *bullet_getTarget(Object *bullet)
|
|||
|
||||
if (bullet->owner->flags & FL_WEAPCO)
|
||||
{
|
||||
i = (rand() % 10);
|
||||
|
||||
if (i < 1)
|
||||
if (CHANCE(0.1))
|
||||
return &player;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue