diff options
author | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2017-02-27 13:51:28 +0000 |
---|---|---|
committer | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2017-02-27 13:51:28 +0000 |
commit | ea4d4528cad5bc954fe28b7047a38ff27ed53fa0 (patch) | |
tree | 74e65577e0e2ac0369c7b077dbc2c82eb8814ffb /games/d2x-xl/files/patch-objects_reactor.cpp | |
parent | - Backport FreeBSD only patches (diff) |
- Switch to USES=autoreconf
- Fix build with clang 4.0 (
PR: 216639
Reported by: jbeich@FreeBSD.org
Approved by: maintainer timeout (aragon@phat.za.net, 4 weeks)
Notes
Notes:
svn path=/head/; revision=434937
Diffstat (limited to 'games/d2x-xl/files/patch-objects_reactor.cpp')
-rw-r--r-- | games/d2x-xl/files/patch-objects_reactor.cpp | 11 |
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 = |