mirror of
https://github.com/glest/glest-source.git
synced 2025-08-31 19:51:44 +02:00
menu_state_custom_game.h:init 'index'
Fixes ? https://scan4.coverity.com/reports.htm#v10064/p15637/g10064g/fileInstanceId=50222844&defectInstanceId=9301921&mergedDefectId=317047&eventId=9301921-3
This commit is contained in:
@@ -60,7 +60,7 @@ namespace Glest {
|
||||
class GraphicListBoxFactions : public GraphicListBox {
|
||||
private:
|
||||
MenuStateCustomGame * menu;
|
||||
int index;
|
||||
int index = 0;
|
||||
public:
|
||||
GraphicListBoxFactions(const std::string &containerName = "", const std::string &objName = "");
|
||||
void addInformation(MenuStateCustomGame* m, int i);
|
||||
|
Reference in New Issue
Block a user