removed debugging information

This commit is contained in:
Dmitriy 2015-06-04 13:31:27 +03:00
commit 2e46c9e866
3 changed files with 8 additions and 26 deletions

View file

@ -1216,9 +1216,8 @@ public:
void DeleteSearchNodes (void);
void RemoveCertainTask (TaskId_t id);
void StartTask_ (int, const char *f, TaskId_t id, float desire, int data, float time, bool canContinue);
void StartTask (TaskId_t id, float desire, int data, float time, bool canContinue);
#define StartTask(i,d,a,t,c) StartTask_(__LINE__, __FUNCTION__,i,d,a,t,c)
void ResetTasks (void);
TaskItem *GetTask (void);
inline TaskId_t GetTaskId (void) { return GetTask ()->id; };

View file

@ -12,24 +12,14 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Debug|Mixed Platforms = Debug|Mixed Platforms
Debug|Win32 = Debug|Win32
Release|Any CPU = Release|Any CPU
Release|Mixed Platforms = Release|Mixed Platforms
Release|Win32 = Release|Win32
Debug|x86 = Debug|x86
Release|x86 = Release|x86
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{C232645A-3B99-48F4-A1F3-F20CF0A9568B}.Debug|Any CPU.ActiveCfg = Debug|Win32
{C232645A-3B99-48F4-A1F3-F20CF0A9568B}.Debug|Mixed Platforms.ActiveCfg = Debug|Win32
{C232645A-3B99-48F4-A1F3-F20CF0A9568B}.Debug|Mixed Platforms.Build.0 = Debug|Win32
{C232645A-3B99-48F4-A1F3-F20CF0A9568B}.Debug|Win32.ActiveCfg = Debug|Win32
{C232645A-3B99-48F4-A1F3-F20CF0A9568B}.Debug|Win32.Build.0 = Debug|Win32
{C232645A-3B99-48F4-A1F3-F20CF0A9568B}.Release|Any CPU.ActiveCfg = Release|Win32
{C232645A-3B99-48F4-A1F3-F20CF0A9568B}.Release|Mixed Platforms.ActiveCfg = Release|Win32
{C232645A-3B99-48F4-A1F3-F20CF0A9568B}.Release|Mixed Platforms.Build.0 = Release|Win32
{C232645A-3B99-48F4-A1F3-F20CF0A9568B}.Release|Win32.ActiveCfg = Release|Win32
{C232645A-3B99-48F4-A1F3-F20CF0A9568B}.Release|Win32.Build.0 = Release|Win32
{C232645A-3B99-48F4-A1F3-F20CF0A9568B}.Debug|x86.ActiveCfg = Debug|Win32
{C232645A-3B99-48F4-A1F3-F20CF0A9568B}.Debug|x86.Build.0 = Debug|Win32
{C232645A-3B99-48F4-A1F3-F20CF0A9568B}.Release|x86.ActiveCfg = Debug|Win32
{C232645A-3B99-48F4-A1F3-F20CF0A9568B}.Release|x86.Build.0 = Debug|Win32
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE

View file

@ -2130,15 +2130,8 @@ void Bot::ResetTasks (void)
m_tasks.RemoveAll ();
}
void Bot::StartTask_ (int l, const char *f, TaskId_t id, float desire, int data, float time, bool resume)
void Bot::StartTask (TaskId_t id, float desire, int data, float time, bool resume)
{
if (id == TASK_MOVETOPOSITION && m_team == TEAM_CF)
{
ServerPrint("%s pushed mtp(des:%.2f,dat:%d,tm:%.2f,res:%s) on %s:%d", STRING(pev->netname), desire, data, time, (resume?"t":"f"), f, l);
// __asm int 3
}
if (!m_tasks.IsEmpty ())
{
TaskItem &item = m_tasks.Last ();