mirror of
https://bitbucket.org/theswgsource/src-1.2.git
synced 2026-01-15 23:04:24 -05:00
fuuuuuuu why won't you properly profile, you did previously?
This commit is contained in:
@@ -61,6 +61,10 @@ int main(int argc, char ** argv)
|
||||
NetworkHandler::remove();
|
||||
SetupSharedFoundation::remove();
|
||||
SetupSharedThread::remove();
|
||||
|
||||
#ifdef ENABLE_PROFILING
|
||||
exit(0);
|
||||
#endif
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
@@ -74,5 +74,9 @@ int main(int argc, char ** argv)
|
||||
SetupSharedFoundation::remove();
|
||||
SetupSharedThread::remove();
|
||||
|
||||
#ifdef ENABLE_PROFILING
|
||||
exit(0);
|
||||
#endif
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
@@ -79,6 +79,7 @@ bool AggroListPropertyNamespace::canAttackTarget(TangibleObject const & attacker
|
||||
{
|
||||
//LOGC(AiLogManager::isLogging(attacker), "debug_ai", ("AggroListPropertyNamespace::canAttackTarget() attacker(%s) target(%s) Target is feigning death", attacker.getDebugInformation().c_str(), target.getDebugInformation().c_str()));
|
||||
result = false;
|
||||
|
||||
}
|
||||
else if (isInPlayerBuilding(target))
|
||||
{
|
||||
|
||||
@@ -80,5 +80,9 @@ int main(int argc, char ** argv)
|
||||
SetupSharedFoundation::remove();
|
||||
SetupSharedThread::remove();
|
||||
|
||||
#ifdef ENABLE_PROFILING
|
||||
exit(0);
|
||||
#endif
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
@@ -142,6 +142,10 @@ int main(int argc, char ** argv)
|
||||
SetupSharedFoundation::remove();
|
||||
SetupSharedThread::remove ();
|
||||
|
||||
#ifdef ENABLE_PROFILING
|
||||
exit(0);
|
||||
#endif
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user