Skip to content
This repository has been archived by the owner on Apr 17, 2022. It is now read-only.

Fog = Fog of War cannot be changed #561

Closed
wzdev-ci opened this issue May 30, 2009 · 5 comments
Closed

Fog = Fog of War cannot be changed #561

wzdev-ci opened this issue May 30, 2009 · 5 comments

Comments

@wzdev-ci
Copy link
Contributor

resolution_fixed type_bug | by Vermithrax


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.


Issue migrated from trac:561 at 2022-04-15 18:22:05 -0700

@wzdev-ci
Copy link
Contributor Author

Vermithrax uploaded file init.c (26.1 KiB)

@wzdev-ci
Copy link
Contributor Author

Buginator changed status from new to closed

@wzdev-ci
Copy link
Contributor Author

Buginator set resolution to fixed

@wzdev-ci
Copy link
Contributor Author

Buginator commented


(In [7597]) Allow mist fog type in campaign games. (Fog type is set by user preferences)

Patch by Vermithrax
closes #561

@wzdev-ci
Copy link
Contributor Author

wzdev-ci commented Jun 7, 2009

Buginator commented


(In [7684]) Allow mist fog type in campaign games. (Fog type is set by user preferences)

Patch by Vermithrax

closes #561

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant