This was SVN commit r5135.
This commit is contained in:
parent
523c5f78f5
commit
05521b8c83
@ -1505,7 +1505,7 @@ void CBuildingPlacer::Update( float timeStep )
|
||||
}
|
||||
|
||||
// Validate placement location.
|
||||
IsValid(pos, onSocket);
|
||||
CheckValid(pos, onSocket);
|
||||
|
||||
// Flash our actor red if the position is invalid.
|
||||
|
||||
@ -1523,7 +1523,7 @@ void CBuildingPlacer::Update( float timeStep )
|
||||
}
|
||||
|
||||
// Alex's mess
|
||||
void CBuildingPlacer::IsValid( CVector3D pos, bool onSocket )
|
||||
void CBuildingPlacer::CheckValid( CVector3D pos, bool onSocket )
|
||||
{
|
||||
// Check whether the placement location is valid (look at whether we're
|
||||
// on the map, who owns the territory, whether we are on a socket, and
|
||||
|
@ -178,7 +178,7 @@ struct CBuildingPlacer : public Singleton<CBuildingPlacer>
|
||||
void MousePressed();
|
||||
void MouseReleased();
|
||||
void Update( float timeStep );
|
||||
void IsValid( CVector3D pos, bool onSocket );
|
||||
void CheckValid( CVector3D pos, bool onSocket );
|
||||
};
|
||||
|
||||
bool IsMouseoverType( CEntity* ev, void* userdata );
|
||||
|
Loading…
Reference in New Issue
Block a user