fixed speeding bug in homing system
This commit is contained in:
parent
f912c9efa6
commit
05f58c3ed4
|
@ -3,6 +3,7 @@ D1X-Rebirth Changelog
|
|||
20070514
|
||||
--------
|
||||
SConstruct, arch/sdl/init.c, arch/sdl/joydefs.c, arch/sdl/mouse.c, arch/sdl/include/mouse.h, main/game.c, main/inferno.c, main/kconfig.c, main/kconfig.h, main/newmenu.c, main/newmenu.h, main/playsave.c, main/text.h: Added config field to map a Mouse Axis/Wheel to cycle Primary and Secondary weapons; lots of controls-related code cleaning
|
||||
main/laser.c: fixed speeding bug in homing system
|
||||
|
||||
20070510
|
||||
--------
|
||||
|
|
|
@ -1107,7 +1107,7 @@ void Laser_do_weapon_sequence(object *obj)
|
|||
// homing missile speeds : insane - 0x005a
|
||||
max_speed = Weapon_info[obj->id].speed[Difficulty_level];
|
||||
|
||||
if (speed /*+ F1_0*/ < max_speed)
|
||||
if (speed < max_speed)
|
||||
{
|
||||
speed += fixmul(max_speed, FrameTime/2);
|
||||
if (speed > max_speed)
|
||||
|
|
Loading…
Reference in a new issue