Mantis: 1097

o Commander created entities now created 4 units above the scan location and they drop to the floor.


git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@310 67975925-1194-0748-b3d5-c16f83f1a3a1
This commit is contained in:
puzl 2005-07-28 18:34:03 +00:00
parent e9ac847a1b
commit 3b487392b6

View file

@ -575,6 +575,10 @@ bool AvHPlayer::BuildTech(AvHMessageID inBuildID, const Vector& inPickRay)
Vector theLocation;
if(AvHSHUTraceAndGetIsSiteValidForBuild(inBuildID, this->GetVisualOrigin(), inPickRay, &theLocation))
{
// puzl: 1097 Commander created entities now created 4 units above the scan location and they drop to the floor.
if ( this->GetIsInTopDownMode() ) {
theLocation[2]+=4;
}
// Decrement resources
string theErrorMessage;
int theCost = 0;