Changeset 162 in flair-src for trunk/lib/FlairSimulator/src/Gui_impl.cpp


Ignore:
Timestamp:
03/06/17 20:30:06 (5 years ago)
Author:
Sanahuja Guillaume
Message:

modifs pb crash fin simulateur

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/FlairSimulator/src/Gui_impl.cpp

    r145 r162  
    131131Gui_impl::~Gui_impl() {
    132132  // printf("del Gui_impl\n");
    133   device->drop();
     133  //device->drop();
    134134
    135135  delete receiver;
     
    209209
    210210  while (device->run()) {
    211     if (dbtFile_r != NULL) // rejeu
    212     {
     211    if (dbtFile_r != NULL) {// rejeu
    213212      takeScreenshot(); // on enregistre l'image precedente
    214213      road_time_t time;
     
    258257                 }
    259258                 device->setWindowCaption(L"toto");*/
    260 
    261     if (dbtFile_r == NULL) // mode normal
    262     {
     259    if (dbtFile_r == NULL) {// mode normal
    263260      for (size_t i = 0; i < models.size(); i++) {
    264261        models.at(i)->pimpl_->CheckCollision();
Note: See TracChangeset for help on using the changeset viewer.