Update of bug #10242 (project wormux):
Assigned to: None => gentildemon
_______________________________________________________
Follow-up Comment #1:
The automatic bazooka crosshair is displayed when we draw the weapon.
Removing the lines 367 and 368 of character.cpp fixes the problem (in method
void Character::Draw()). These lines provide a optimization to not draw a
player which is not viewed by the camera. As the weapon is (probably) drawn
when we draw the active player, here is the bug.
Anyway, I don't understand why the crosshair appears as soon as one character
(and not the active character only) ?
The test (line 367) could be updated to check if it is not the active
character. Currently I'm quite surprised with the end of the method. At the
end, DoShoot can be called if it is playing a shoot animation. Thus, if the
active player was not visible (misplaced camera in network for example), the
shoot probably never happened ?!?
_______________________________________________________
Reply to this item at:
<http://gna.org/bugs/?10242>
_______________________________________________
Message posté via/par Gna!
http://gna.org/
_______________________________________________
Wormux-gna mailing list
[email protected]
https://mail.gna.org/listinfo/wormux-gna