Technical support > Bugs in stable version (2.5)
Minor bug: Infinite loop in cl_hud.cpp
(1/1)
polyvios:
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
DarkRain:
I wouldn't call it a minor bug, anyway its already fixed, thank for reporting.
Navigation
[0] Message Index
Go to full version