From e652cd89cd85f3477d2841f7c52445bddd26c9e2 Mon Sep 17 00:00:00 2001 From: Charles Date: Mon, 30 Jul 2001 15:27:32 +0000 Subject: [PATCH] --- source/friend/fgary.cpp | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/source/friend/fgary.cpp b/source/friend/fgary.cpp index fdbd0dbfe..43ffcdcb6 100644 --- a/source/friend/fgary.cpp +++ b/source/friend/fgary.cpp @@ -35,6 +35,8 @@ #include #endif +#define GARY_SPEED 1 + u8 CNpcGaryFriend::m_garySpeech; @@ -216,10 +218,11 @@ void CNpcGaryFriend::think( int _frames ) if ( platformHeight < groundHeight ) { - groundHeight = platformHeight; - } + //groundHeight = platformHeight; + groundHeight = 0; - //Pos.vy += platformHeight; + Pos.vy += platformHeight; + } //return; } @@ -251,7 +254,7 @@ void CNpcGaryFriend::think( int _frames ) if ( !conveyorOverride && !m_obstructed ) { - Pos.vx += multiplier * 2 * _frames; + Pos.vx += multiplier * GARY_SPEED * _frames; } } } @@ -283,7 +286,7 @@ void CNpcGaryFriend::think( int _frames ) if ( !conveyorOverride && !m_obstructed ) { - Pos.vx += multiplier * 2 * _frames; + Pos.vx += multiplier * GARY_SPEED * _frames; } } }