Fixed Bug #682838: Something wrong with scandinavia? (Part 2 - Editor Crash)
This commit is contained in:
parent
577c5c7235
commit
64454c2911
1 changed files with 1 additions and 14 deletions
|
@ -1779,20 +1779,7 @@ local void CreateEditor(void)
|
|||
}
|
||||
}
|
||||
|
||||
#ifdef NEW_FOW
|
||||
// Must change visible for ALL Players
|
||||
for (i = 0; i < TheMap.Width*TheMap.Height; ++i) {
|
||||
// Player 0 is selected and will be done by RevealMap
|
||||
for (n = 1; n < PlayerMax; ++n) {
|
||||
if (TheMap.Fields[i].Visible[n] == 0) {
|
||||
TheMap.Fields[i].Visible[n] = 2;
|
||||
} else {
|
||||
TheMap.Fields[i].Visible[n]++;
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
ReplayRevealMap = 1;
|
||||
FlagRevealMap = 0;
|
||||
|
||||
//
|
||||
|
|
Loading…
Add table
Reference in a new issue