change effects animation calculation

This commit is contained in:
Eduardo Bart
2011-11-07 15:20:13 -02:00
parent 5b1b170165
commit ce67fd1733
11 changed files with 47 additions and 38 deletions

View File

@@ -663,6 +663,7 @@ std::string LuaInterface::functionSourcePath()
// gets function source path
lua_Debug ar;
memset(&ar, 0, sizeof(ar));
lua_getinfo(L, ">Sn", &ar);
if(ar.source) {
// scripts coming from files has source beginning with '@'