Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Aug 18, 2009, 12:06:41 PM (15 years ago)
Author:
rgrieder
Message:

Added bLuaSupport_ to XMLFile so we can load the resource locations without lua. And therefore LuaState can access its init script via resources.
Also fixed a problem in the LevelManager with level loading.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/resource2/src/orxonox/LevelManager.cc

    r5659 r5660  
    142142                it = availableLevels_.erase(it);
    143143            else
     144            {
     145                size_t pos = it->find(".oxw");
     146                *it = it->substr(0, pos);
    144147                ++it;
     148            }
    145149    }
    146150}
Note: See TracChangeset for help on using the changeset viewer.