Wargus / war1gus

Importer and scripts for Warcraft: Orcs and Humans
GNU General Public License v2.0
101 stars 14 forks source link

Solo game - Number of opponents ignored #407

Closed asbernardi closed 1 year ago

asbernardi commented 1 year ago

Hi! If you play a 'solo game' and set 1 opponent, this setting is ignored. Example maps:

Lagi7 commented 1 year ago

hmm... i guess war2gus work properly so maybe we need to compare the 2x files what's different

timfel commented 1 year ago

In wc1.lua where it says

if (nump == 0) then nump = 15 end

it should instead say

if (nump == -1) then nump = 15 else nump = nump + 1 end
timfel commented 1 year ago

Fixed.