Stellar dynamics in gas: the role of gas damping