Modify

Ticket #561 (closed bug: fixed)

Opened 3 years ago

Last modified 3 years ago

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

init.c (26.1 KB) - added by Vermithrax 3 years ago.

Change History

Changed 3 years ago by Vermithrax

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

View

Add a comment

Provide an email address (will not be publicly visible) in the Author field or register an account (uses your forum account).

Modify Ticket

Action
as closed
The resolution will be deleted. Next status will be 'reopened'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.