Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 4981 in orxonox.OLD for orxonox


Ignore:
Timestamp:
Aug 10, 2005, 6:01:46 PM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: disabled opening the GUI if DEBUG ≥ 3

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/trunk/src/orxonox.cc

    r4980 r4981  
    1 /*
     1`/*
    22   orxonox - the future of 3D-vertical-scrollers
    33
     
    9999
    100100  PRINT(3)
    101       ("===================================================\n" \
     101      (
     102      "===================================================\n" \
    102103      "Thanks for playing orxonox.\n" \
    103104      "visit: http://www.orxonox.ethz.ch for new versions.\n" \
    104105      "===================================================\n" \
    105       ORXONOX_LICENSE_SHORT);
     106      ORXONOX_LICENSE_SHORT
     107      );
    106108
    107109  Orxonox::singletonRef = NULL;
     
    358360  // checking for existence of the configuration-files, or if the lock file is still used
    359361  if (showGui ||
    360       !ResourceManager::isFile(DEFAULT_CONFIG_FILE) ||
    361       ResourceManager::isFile(DEFAULT_LOCK_FILE))
     362      !ResourceManager::isFile(DEFAULT_CONFIG_FILE)
     363#if DEBUG < 3
     364       || ResourceManager::isFile(DEFAULT_LOCK_FILE)
     365#endif
     366     )
    362367    {
    363368      if (ResourceManager::isFile(DEFAULT_LOCK_FILE))
Note: See TracChangeset for help on using the changeset viewer.