1
0
forked from 0ad/0ad

This was SVN commit r5135.

This commit is contained in:
Alexander 2007-06-03 22:20:29 +00:00
parent 523c5f78f5
commit 05521b8c83
2 changed files with 3 additions and 3 deletions

View File

@ -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

View File

@ -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 );