summaryrefslogtreecommitdiff
path: root/games/d2x-xl/files/patch-objects_reactor.cpp
blob: 4fd175843497728897a339ef98f43e126fc24e12 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
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 =