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/core/LuaState.cc

    r5655 r5660  
    7979
    8080        // Parse init script
    81         // Note: We have to use a hard coded path because the script is required for the resource loading
    82         this->doString("dofile(\"" + Core::getDataPathString() + "lua/LuaStateInit.lua\")");
     81        this->doFile("LuaStateInit.lua");
    8382    }
    8483
Note: See TracChangeset for help on using the changeset viewer.