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:
puzl 2006-07-31 17:19:11 +00:00
parent a76cf22404
commit e0fc5bcd37

View file

@ -1151,7 +1151,7 @@ bool AvHPlayer::ExecuteAlienMorphMessage(AvHMessageID inMessageID, bool inInstan
vecEnd[2]-=100;
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);
theMessageExecuted = true;
}