Advertisement
MageKing17

Untitled

Dec 2nd, 2015
91
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.36 KB | None | 0 0
  1.             // only repair those subsystems which are not destroyed
  2.             if ( ssp->max_hits <= 0 )
  3.                 continue;
  4.  
  5.             if ( ssp->current_hits <= 0 ) {
  6.                 if (sip->flags2 & SIF2_SUBSYS_REPAIR_WHEN_DISABLED) {
  7.                     if (ssp->flags & SSF_NO_AUTOREPAIR_IF_DISABLED) {
  8.                         continue;
  9.                     }
  10.                 } else if (!(ssp->flags & SSF_AUTOREPAIR_IF_DISABLED)) {
  11.                     continue;
  12.                 }
  13.             }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement