Wargus / wargus

Importer and scripts for Warcraft II: Tides of Darkness, the expansion Beyond the Dark Portal, and Aleonas Tales
GNU General Public License v2.0
357 stars 55 forks source link

Fixed values of game type menu list items. … #325

Closed ipochto closed 4 years ago

ipochto commented 4 years ago

GameType must be started from -1 (for UseMapSettings), but was started from 0.

According to settings.h:

#define SettingsPresetMapDefault  -1  /// Special: Use map supplied
...
enum GameTypes {
    SettingsGameTypeMapDefault = SettingsPresetMapDefault,
    SettingsGameTypeMelee = 0,
    SettingsGameTypeFreeForAll,
    SettingsGameTypeTopVsBottom,
    SettingsGameTypeLeftVsRight,
    SettingsGameTypeManVsMachine,
    SettingsGameTypeManTeamVsMachine