mirror of
https://github.com/ENSL/NS.git
synced 2024-11-27 06:42:54 +00:00
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:
parent
e9ac847a1b
commit
3b487392b6
1 changed files with 4 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue