mirror of
https://github.com/unknownworlds/NS.git
synced 2024-11-14 08:50:35 +00:00
o Fixed a problem with the gestation on slope changes
git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@562 67975925-1194-0748-b3d5-c16f83f1a3a1
This commit is contained in:
parent
a76cf22404
commit
e0fc5bcd37
1 changed files with 1 additions and 1 deletions
|
@ -1151,7 +1151,7 @@ bool AvHPlayer::ExecuteAlienMorphMessage(AvHMessageID inMessageID, bool inInstan
|
||||||
vecEnd[2]-=100;
|
vecEnd[2]-=100;
|
||||||
UTIL_TraceLine(vecStart, vecEnd, ignore_monsters, dont_ignore_glass, NULL, &tr);
|
UTIL_TraceLine(vecStart, vecEnd, ignore_monsters, dont_ignore_glass, NULL, &tr);
|
||||||
|
|
||||||
if ( tr.vecPlaneNormal[2] > 0.7 ) {
|
if ( tr.flFraction == 1.0f || tr.vecPlaneNormal[2] > 0.7 ) {
|
||||||
this->Evolve(inMessageID, inInstantaneous);
|
this->Evolve(inMessageID, inInstantaneous);
|
||||||
theMessageExecuted = true;
|
theMessageExecuted = true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue