|
@@ -189,14 +189,14 @@ void AsteroidsEditor::doMausEreignis( MausEreignis & me )
|
|
if( me.id == ME_PLinks )
|
|
if( me.id == ME_PLinks )
|
|
{
|
|
{
|
|
Vertex pos = kamera->getWorldCoordinates( Punkt( me.mx, me.my ) );
|
|
Vertex pos = kamera->getWorldCoordinates( Punkt( me.mx, me.my ) );
|
|
- moveObj = (EditorObject *)daten->zWelt()->zObjectAt( (int)pos.x, (int)pos.y );
|
|
|
|
|
|
+ moveObj = (EditorObject *)daten->zWelt()->zObjectAt( (int)pos.x, (int)pos.y, 1 );
|
|
if( moveObj )
|
|
if( moveObj )
|
|
me.verarbeitet = 1;
|
|
me.verarbeitet = 1;
|
|
}
|
|
}
|
|
if( me.id == ME_PMitte )
|
|
if( me.id == ME_PMitte )
|
|
{
|
|
{
|
|
Vertex pos = kamera->getWorldCoordinates( Punkt( me.mx, me.my ) );
|
|
Vertex pos = kamera->getWorldCoordinates( Punkt( me.mx, me.my ) );
|
|
- rotObj = (EditorObject *)daten->zWelt()->zObjectAt( (int)pos.x, (int)pos.y );
|
|
|
|
|
|
+ rotObj = (EditorObject *)daten->zWelt()->zObjectAt( (int)pos.x, (int)pos.y, 1 );
|
|
if( rotObj )
|
|
if( rotObj )
|
|
me.verarbeitet = 1;
|
|
me.verarbeitet = 1;
|
|
}
|
|
}
|