1
This commit is contained in:
parent
3d9b77dd7d
commit
1b3deed6d2
@ -429,7 +429,11 @@ void InternalShot(Creature* c,
|
||||
bullet_angle += (rand() % angle) / 1000.0f * (rand() % 2 == 0 ? 1 : -1);
|
||||
}
|
||||
}
|
||||
#if 1
|
||||
GlmHelper::RotateY(bullet_dir, glm::radians(bullet_angle));
|
||||
#else
|
||||
GlmHelper::RotateY(bullet_dir, bullet_angle / 180.0f);
|
||||
#endif
|
||||
int shot_animi_time = (shot_animi ? shot_animi->t : 0);
|
||||
if (shot_animi_time > 0) {
|
||||
shot_animi_time = std::max(100, shot_animi_time);
|
||||
|
Loading…
x
Reference in New Issue
Block a user