Lines 108-114
Link Here
|
108 |
(tester = *i) != NULL; ++i) |
108 |
(tester = *i) != NULL; ++i) |
109 |
if (tester->isUnit() == UNITPTR && tester != this) |
109 |
if (tester->isUnit() == UNITPTR && tester != this) |
110 |
if ( ( this->LocalPosition()-tester->LocalPosition() ).Magnitude() < this->rSize()+tester->rSize() ) |
110 |
if ( ( this->LocalPosition()-tester->LocalPosition() ).Magnitude() < this->rSize()+tester->rSize() ) |
111 |
SetCurPosition( this->LocalPosition()+this->cumulative_transformation_matrix.getR() |
111 |
this->SetCurPosition( this->LocalPosition()+this->cumulative_transformation_matrix.getR() |
112 |
*( 4*( this->rSize()+tester->rSize() ) ) ); |
112 |
*( 4*( this->rSize()+tester->rSize() ) ) ); |
113 |
DealPossibleJumpDamage( this ); |
113 |
DealPossibleJumpDamage( this ); |
114 |
static int jumparrive = AUDCreateSound( vs_config->getVariable( "unitaudio", "jumparrive", "sfx43.wav" ), false ); |
114 |
static int jumparrive = AUDCreateSound( vs_config->getVariable( "unitaudio", "jumparrive", "sfx43.wav" ), false ); |