From c743c7fd0cc12bf10d76ecb8cdcb8029ed8429a4 Mon Sep 17 00:00:00 2001 From: DevToaster Date: Mon, 30 Mar 2015 19:42:32 -0400 Subject: Modified physics for more vanilla-like behavior --- src/Entities/Pawn.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/Entities/Pawn.cpp') diff --git a/src/Entities/Pawn.cpp b/src/Entities/Pawn.cpp index baf8a2f3b..a4a9c6f21 100644 --- a/src/Entities/Pawn.cpp +++ b/src/Entities/Pawn.cpp @@ -13,6 +13,8 @@ cPawn::cPawn(eEntityType a_EntityType, double a_Width, double a_Height) : super(a_EntityType, 0, 0, 0, a_Width, a_Height) , m_EntityEffects(tEffectMap()) { + SetGravity(-32.0f); + SetAirDrag(0.4f); } -- cgit v1.2.3 From 45c84ea93318a4ab8921a20d7d2c086cfc313999 Mon Sep 17 00:00:00 2001 From: DevToaster Date: Tue, 31 Mar 2015 11:03:35 -0400 Subject: Changed air drag units to 'interpolated ticks' per second --- src/Entities/Pawn.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Entities/Pawn.cpp') diff --git a/src/Entities/Pawn.cpp b/src/Entities/Pawn.cpp index a4a9c6f21..fcb686e28 100644 --- a/src/Entities/Pawn.cpp +++ b/src/Entities/Pawn.cpp @@ -14,7 +14,7 @@ cPawn::cPawn(eEntityType a_EntityType, double a_Width, double a_Height) : , m_EntityEffects(tEffectMap()) { SetGravity(-32.0f); - SetAirDrag(0.4f); + SetAirDrag(0.02f); } -- cgit v1.2.3