fix cubescript execution crash(es)

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6379 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
sireus
2011-04-27 21:03:11 +00:00
parent 1992a0155e
commit 528db72bf1
+1
View File
@@ -441,6 +441,7 @@ vector<long long> seer_t2; // timestamp of last n3 (10) level-2 calls
#endif
char *executeret(const char *p) // all evaluation happens here, recursively
{
if(!p || !p[0]) return NULL;
bool noproblem = true;
#if 0
if(execcontext>IEXC_CFG) // only PROMPT and MAP-CFG are checked for this, fooling with core/cfg at your own risk!