Changeset 76
- Timestamp:
- Mar 4, 2008, 6:26:43 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
abuse/trunk/src/game.cpp
r66 r76 1281 1281 cash.sfx( lnumber_value( logo_snd ) )->play( sfx_volume ); 1282 1282 1283 image blank( 2, 2 ); 1284 blank.clear(); 1285 eh->set_mouse_shape( blank.copy(), 0, 0 ); // don't show mouse 1283 // This must be a dynamic allocated image because if it 1284 // is not and the window gets closed during do_title, then 1285 // exit() will try to delete (through the desctructor of 1286 // image_list in image.cpp) the image on the stack -> boom. 1287 image *blank = new image( 2, 2 ); 1288 blank->clear(); 1289 eh->set_mouse_shape( blank->copy(), 0, 0 ); // hide mouse 1290 delete blank; 1286 1291 fade_in( cash.img( cdc_logo ), 32 ); 1287 1292
Note: See TracChangeset
for help on using the changeset viewer.