This commit is contained in:
parent
57e198f7eb
commit
67839d076f
12 changed files with 212 additions and 35 deletions
|
@ -117,6 +117,10 @@ CThing *Next=getNext();
|
|||
{
|
||||
projectile->setMovementType( CProjectile::PROJECTILE_USER_SEEK );
|
||||
projectile->setState( CProjectile::PROJECTILE_ATTACK );
|
||||
|
||||
// sound
|
||||
|
||||
CSoundMediator::playSfx( CSoundMediator::SFX_EYEBALL_SENTRY_ATTACK );
|
||||
}
|
||||
}
|
||||
else
|
||||
|
@ -134,6 +138,10 @@ CThing *Next=getNext();
|
|||
projectile->setState( CProjectile::PROJECTILE_ATTACK );
|
||||
|
||||
addChild( projectile );
|
||||
|
||||
// sound
|
||||
|
||||
CSoundMediator::playSfx( CSoundMediator::SFX_EYEBALL_SENTRY_ATTACK );
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue