|
@@ -54,9 +54,9 @@ void GameObject::render( Bild &rObj )
|
|
rObj.alphaBildSkall( 0, 0, (int)w, (int)h, *textur );
|
|
rObj.alphaBildSkall( 0, 0, (int)w, (int)h, *textur );
|
|
else
|
|
else
|
|
{
|
|
{
|
|
- for( int xx = 0; xx < w; x += textur->getBreite() )
|
|
|
|
|
|
+ for( int xx = 0; xx < w; xx += textur->getBreite() )
|
|
{
|
|
{
|
|
- for( int yy = 0; yy < h; y += textur->getHeight() )
|
|
|
|
|
|
+ for( int yy = 0; yy < h; yy += textur->getHeight() )
|
|
rObj.alphaBild( xx, yy, textur->getBreite(), textur->getHeight(), *textur );
|
|
rObj.alphaBild( xx, yy, textur->getBreite(), textur->getHeight(), *textur );
|
|
}
|
|
}
|
|
}
|
|
}
|