Skip to content

Commit

Permalink
little code fix
Browse files Browse the repository at this point in the history
  • Loading branch information
White Dragon committed Jan 27, 2018
1 parent 4c2c9fb commit 1ddd723
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion engine/openbor.c
Original file line number Diff line number Diff line change
Expand Up @@ -20064,7 +20064,7 @@ void check_gravity(entity *e)
// takedamage if thrown or basted
if( (self->damage_on_landing[0] > 0 && !self->dead) &&
((!tobounce(self) && self->modeldata.bounce) || !self->modeldata.bounce) &&
self->velocity.x == self->velocity.z == self->velocity.y == 0
self->velocity.x == 0 && self->velocity.z == 0 && self->velocity.y == 0
)
{
if(self->takedamage)
Expand Down

0 comments on commit 1ddd723

Please sign in to comment.