project-navigation
Personal tools

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - polyvios

Pages: [1]
1
Bugs in stable version (2.5) / Minor bug: Infinite loop in cl_hud.cpp
« on: October 11, 2012, 08:26:38 pm »
Hello everyone, thanks for a great game,

In one of the recent commits, the declaration of variable "hand" in HUD_CheckFiremodeReservation, moved inside the loop src/client/battlescape/cl_hud.cpp:205
This causes the do..while to loop forever, as there needs to be data flow through "hand" from one iteration to the next for the loop to terminate.  To fix, move the declaration back to the function start.

cheers,
-polyvios

Pages: [1]