mirror of
https://github.com/bearstonem/openmohaa-vr.git
synced 2026-10-23 17:00:27 +02:00
Renamed **NO_SCRIPTENGINE** to **WITH_SCRIPT_ENGINE**
This commit is contained in:
1 parent
6b1da4af57
commit
e45289d28b
8 files changed
+58
-57
No files matched your search
@@ -401,7 +401,7 @@ Listener *SpawnArgs::SpawnInternal( void )
|
||||
qboolean tikiWasStatic; // used to determine if entity was intentionally suppressed
|
||||
const char *key, *value;
|
||||
str keyname;
|
||||
#ifndef NO_SCRIPTENGINE
|
||||
#ifdef WITH_SCRIPT_ENGINE
|
||||
unsigned int eventnum;
|
||||
EventDef *def;
|
||||
ScriptVariable *var;
|
||||
@@ -482,7 +482,7 @@ Listener *SpawnArgs::SpawnInternal( void )
|
||||
// don't count the prefix
|
||||
keyname = ( key + 1 );
|
||||
|
||||
#ifndef NO_SCRIPTENGINE
|
||||
#ifdef WITH_SCRIPT_ENGINE
|
||||
// initialize the object vars
|
||||
varList = obj->Vars();
|
||||
|
||||
@@ -537,7 +537,7 @@ Listener *SpawnArgs::SpawnInternal( void )
|
||||
{
|
||||
keyname = ( key + 1 );
|
||||
|
||||
#ifndef NO_SCRIPTENGINE
|
||||
#ifdef WITH_SCRIPT_ENGINE
|
||||
varList = obj->Vars();
|
||||
|
||||
var = varList->GetVariable( keyname );
|
||||
|
||||
Reference in new issue
Block a user