Changeset 23 for Plugins


Ignore:
Timestamp:
01/21/07 11:02:48 (12 years ago)
Author:
art
Message:
 
Location:
Plugins/luaScripting
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • Plugins/luaScripting/Script.h

    r1 r23  
    8080                Result unloadRes(); 
    8181                 
     82                //! Does always return false, because lua scripts are running completely once  
     83                bool hasCommands() { return false; } 
    8284}; 
    8385 
  • Plugins/luaScripting/ScriptConnector.cpp

    r19 r23  
    116116 
    117117        // read out the whole stack 
    118         while (lua_gettop(L) > 0){ 
     118        while (lua_gettop(L) > 0) 
     119        { 
    119120                const char* str = lua_popstring(L); 
    120121                values.push_back(std::string(str)); 
Note: See TracChangeset for help on using the changeset viewer.