Removed "sim/" auto add feature

Removed “sim/“ auto add feature. There are some drefs (custom/art) that
do not start with “sim/“
This commit is contained in:
Chris Teubert
2015-04-03 10:47:55 -07:00
parent 3f0274a74c
commit 0c2e786890
9 changed files with 6 additions and 28 deletions

View File

@@ -829,7 +829,6 @@ int handleGETD(char buf[])
{
if (listLength > 0)
{
handleDREFSIM(DREFArray[i]);// Adds "sim/" if not present
connectionList[current_connection].XPLMRequestedDRefs[i] = XPLMFindDataRef(DREFArray[i]);
}
@@ -908,8 +907,6 @@ int handleDREF(char buf[])
}
// Handle DREF
handleDREFSIM(DREF);// Adds "sim/" if not present
sprintf(logmsg,"[DREF] Request to set DREF value received (Conn %i): %s",current_connection+1,DREF);
updateLog(logmsg,strlen(logmsg));