FWGS / mainui_cpp

Main menu UI toolkit for Xash3D FWGS engine
31 stars 36 forks source link

Table: initialize iNumRows to 0 (fixes #37) #50

Closed fgsfdsfgs closed 3 years ago

fgsfdsfgs commented 3 years ago

Previously iNumRows was left uninitialized after creation and until VidInit, leading to #37 and possibly other issues, where this check would sometimes incorrectly pass because of the garbage in iNumRows and cause the scroll to screw up.

a1batross commented 3 years ago

Woops.

lgtm