Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 155617 | Differences between
and this patch

Collapse All | Expand All

(-)abuse_sdl-0.7.0/src/game.cpp.shit (-3 / +8 lines)
Lines 1269-1277 Link Here
1269
		if( DEFINEDP( logo_snd ) && ( sound_avail & SFX_INITIALIZED ) )
1269
		if( DEFINEDP( logo_snd ) && ( sound_avail & SFX_INITIALIZED ) )
1270
			cash.sfx( lnumber_value( logo_snd ) )->play( sfx_volume );
1270
			cash.sfx( lnumber_value( logo_snd ) )->play( sfx_volume );
1271
1271
1272
		image blank( 2, 2 );
1272
		/* This must be a dynamic allocated image because if it
1273
		blank.clear();
1273
		   is not and the window gets closed during do_title, then
1274
		eh->set_mouse_shape( blank.copy(), 0, 0 );      // don't show mouse
1274
		   exit() will try to delete (through the desctructor of
1275
		   image_list in image.cpp) the image on the stack -> boom. */
1276
		image *blank = new image( 2, 2 );
1277
		blank->clear();
1278
		eh->set_mouse_shape( blank->copy(), 0, 0 );      // don't show mouse
1279
		delete blank;
1275
		fade_in( cash.img( cdc_logo ), 32 );
1280
		fade_in( cash.img( cdc_logo ), 32 );
1276
1281
1277
		milli_wait( 900 );
1282
		milli_wait( 900 );

Return to bug 155617