Knockback fix applied to demo branch.
This commit is contained in:
parent
f5acd59b5b
commit
65a3e23200
@ -522,7 +522,7 @@ void Player::Update(float fElapsedTime){
|
|||||||
m->SetPos(line.rpoint(dist*1.1f));
|
m->SetPos(line.rpoint(dist*1.1f));
|
||||||
}
|
}
|
||||||
if(m->IsAlive()&&!m->IsNPC()){ //Don't set the knockback if this monster is actually an NPC. Let's just push them around.
|
if(m->IsAlive()&&!m->IsNPC()){ //Don't set the knockback if this monster is actually an NPC. Let's just push them around.
|
||||||
vel=line.vector().norm()*-128;
|
vel+=line.vector().norm()*-128;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -39,7 +39,7 @@ All rights reserved.
|
|||||||
#define VERSION_MAJOR 1
|
#define VERSION_MAJOR 1
|
||||||
#define VERSION_MINOR 2
|
#define VERSION_MINOR 2
|
||||||
#define VERSION_PATCH 0
|
#define VERSION_PATCH 0
|
||||||
#define VERSION_BUILD 8947
|
#define VERSION_BUILD 8948
|
||||||
|
|
||||||
#define stringify(a) stringify_(a)
|
#define stringify(a) stringify_(a)
|
||||||
#define stringify_(a) #a
|
#define stringify_(a) #a
|
||||||
|
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user