File diff r25654:e264fd698eb2 → r25655:1030dcb7eb52
src/script/api/script_list.cpp
Show inline comments
 
@@ -469,7 +469,7 @@ int64 ScriptList::Begin()
 
int64 ScriptList::Next()
 
{
 
	if (this->initialized == false) {
 
		DEBUG(script, 0, "Next() is invalid as Begin() is never called");
 
		Debug(script, 0, "Next() is invalid as Begin() is never called");
 
		return 0;
 
	}
 
	return this->sorter->Next();
 
@@ -483,7 +483,7 @@ bool ScriptList::IsEmpty()
 
bool ScriptList::IsEnd()
 
{
 
	if (this->initialized == false) {
 
		DEBUG(script, 0, "IsEnd() is invalid as Begin() is never called");
 
		Debug(script, 0, "IsEnd() is invalid as Begin() is never called");
 
		return true;
 
	}
 
	return this->sorter->IsEnd();