summaryrefslogtreecommitdiff
path: root/src/objects/Projectile.cpp
blob: fe8b0c684d9c648e945bffd065240820707b75fa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#include "common.h"

#include "Projectile.h"

CProjectile::CProjectile(int32 model) : CObject()
{
	m_fMass = 1.0f;
	m_fTurnMass = 1.0f;
	m_fAirResistance = 0.99999f;
	m_fElasticity = 0.75f;
	m_fBuoyancy = GRAVITY * m_fMass * 0.1f;
	bExplosionProof = true;
	SetModelIndex(model);
	ObjectCreatedBy = MISSION_OBJECT;
}