Lasse Öörni пре 13 година
родитељ
комит
e2afe8db08

+ 1 - 1
ThirdParty/AngelScript/source/as_datatype.cpp

@@ -217,7 +217,7 @@ asCDataType &asCDataType::operator =(const asCDataType &dt)
 	isObjectHandle   = dt.isObjectHandle;
 	isConstHandle    = dt.isConstHandle;
 	funcDef          = dt.funcDef;
-	// Urho3D: copy cached type id
+	// Urho3D: copy cached type ID
 	cachedTypeId     = dt.cachedTypeId;
 
 	return (asCDataType &)*this;

+ 3 - 3
ThirdParty/AngelScript/source/as_scriptengine.cpp

@@ -3744,12 +3744,12 @@ void asCScriptEngine::GCEnumCallback(void *reference)
 
 
 // TODO: multithread: The mapTypeIdToDataType must be protected with critical sections in all functions that access it
-// Urho3D: modified for type id caching
+// Urho3D: modified for type ID caching
 int asCScriptEngine::GetTypeIdFromDataType(const asCDataType &dtIn) const
 {
 	if( dtIn.IsNullHandle() ) return 0;
 
-	/// Urho3D: check cached type id first
+	/// Urho3D: check cached type ID first
 	int typeId = dtIn.GetCachedTypeId();
 	if( typeId )
 		return typeId;
@@ -3777,7 +3777,7 @@ int asCScriptEngine::GetTypeIdFromDataType(const asCDataType &dtIn) const
 					typeId |= asTYPEID_HANDLETOCONST;
 			}
 
-			// Urho3D: cache the type id for next query
+			// Urho3D: cache the type ID for next query
 			dtIn.SetCachedTypeId(typeId);
 			return typeId;
 		}