Modify ↓
Ticket #561 (closed bug: fixed)
Fog = Fog of War cannot be changed
| Reported by: | Vermithrax | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | unspecified |
| Component: | Engine: Graphics | Version: | git/master |
| Keywords: | Cc: | ||
| Blocked By: | Blocking: | ||
| Operating System: | All/Non-Specific |
Description
Fog is permanently set to "Fog of War" during campaign mode. Even it is set to "Mist" before the starting the campaign, it is reset, not only in the game, but in the config file.
Fortunately the fix is simple. The file involved is init.c. The line number is 428.
Change:
war_SetFog(false);
to
war_SetFog(war_GetFog());
This fix has been tested.
Attachments
Change History
comment:1 Changed 3 years ago by Buginator
- Status changed from new to closed
- Resolution set to fixed
(In [7597]) Allow mist fog type in campaign games. (Fog type is set by user preferences)
Patch by Vermithrax closes ticket:561
comment:2 Changed 3 years ago by Buginator
(In [7684]) Allow mist fog type in campaign games. (Fog type is set by user preferences)
Patch by Vermithrax
closes ticket:561
Note: See
TracTickets for help on using
tickets.
