This commit is contained in:
parent
8fc2f0e1df
commit
12e8907ece
4 changed files with 16 additions and 1 deletions
|
@ -18,4 +18,12 @@
|
|||
|
||||
void CNpc::processGaryMovement( int _frames )
|
||||
{
|
||||
if ( isCollisionWithGround() )
|
||||
{
|
||||
Pos.vx += _frames;
|
||||
}
|
||||
else
|
||||
{
|
||||
Pos.vy += _frames;
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue