summaryrefslogtreecommitdiff
path: root/games/d2x-xl/files/patch-objects_reactor.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'games/d2x-xl/files/patch-objects_reactor.cpp')
-rw-r--r--games/d2x-xl/files/patch-objects_reactor.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/games/d2x-xl/files/patch-objects_reactor.cpp b/games/d2x-xl/files/patch-objects_reactor.cpp
new file mode 100644
index 000000000000..4fd175843497
--- /dev/null
+++ b/games/d2x-xl/files/patch-objects_reactor.cpp
@@ -0,0 +1,11 @@
+--- objects/reactor.cpp.orig 2017-02-01 15:11:32 UTC
++++ objects/reactor.cpp
+@@ -184,7 +184,7 @@ else {
+
+ void InitCountdown (CTrigger *trigP, int bReactorDestroyed, int nTimer)
+ {
+-if (trigP && (trigP->m_info.time > 0))
++if (trigP && trigP->m_info.time)
+ gameData.reactor.countdown.nTotalTime = trigP->m_info.time [0];
+ else if (gameStates.app.nBaseCtrlCenExplTime != DEFAULT_CONTROL_CENTER_EXPLOSION_TIME)
+ gameData.reactor.countdown.nTotalTime =