Skip to content

Commit

Permalink
Forcefully enable LaserFencePost=yes buildings after the EMP subsides.
Browse files Browse the repository at this point in the history
The problem is usually the check whether the owning house has enough power is not present, but then Prism Towers would start spinning, even if the owner does not have enough power.
  • Loading branch information
AlexBx committed Mar 15, 2012
1 parent 1932d3b commit 6327610
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Ares.version.h
Expand Up @@ -3,7 +3,7 @@

#define VERSION_MAJOR 12
#define VERSION_MINOR 75
#define VERSION_REVISION 1383
#define VERSION_REVISION 1432

#define SAVEGAME_MAGIC ((VERSION_MAJOR << 24) | (VERSION_MINOR << 16) | (VERSION_REVISION))

Expand Down
2 changes: 1 addition & 1 deletion src/Misc/EMPulse.cpp
Expand Up @@ -684,7 +684,7 @@ void EMPulse::DisableEMPEffect(TechnoClass * Victim) {
HasPower = HasPower && Building->IsPowerOnline();

if (!Building->Type->InvisibleInGame) {
if (HasPower) {
if (HasPower || Building->Type->LaserFencePost) {
Building->EnableStuff();
}
updateRadarBlackout(Building);
Expand Down

0 comments on commit 6327610

Please sign in to comment.