Permalink
Browse files

Forcefully enable LaserFencePost=yes buildings after the EMP subsides.

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...
1 parent 1932d3b commit 632761094780cb5bbc12bc69e76d97d56dbc0757 @AlexBx AlexBx committed Mar 15, 2012
Showing with 2 additions and 2 deletions.
  1. +1 −1 src/Ares.version.h
  2. +1 −1 src/Misc/EMPulse.cpp
View
@@ -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))
View
@@ -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);

0 comments on commit 6327610

Please sign in to comment.