Skip to content

Commit 84655ef

Browse files
committed
Disabled console and removed printf
1 parent 11fe653 commit 84655ef

File tree

3 files changed

+0
-14
lines changed

3 files changed

+0
-14
lines changed

Client/core/Core.cpp

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -31,15 +31,6 @@ int WINAPI DllMain(HINSTANCE hModule, DWORD dwReason, PVOID pvNothing)
3131
WriteDebugEvent( SString( "DLL_PROCESS_ATTACH %08x", pvNothing ) );
3232
if ( IsGTAProcess() )
3333
{
34-
if (AllocConsole())
35-
{
36-
freopen("CONIN$", "r", stdin);
37-
freopen("CONOUT$", "w", stdout);
38-
freopen("CONOUT$", "w", stderr);
39-
printf("Okay, enjoy your console :)\n");
40-
}
41-
42-
4334
WriteDebugEvent( SString( "ModuleFileName: %s", *GetLaunchPathFilename() ) );
4435

4536
AddUtf8FileHooks();

Client/mods/deathmatch/logic/CClientPed.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2874,7 +2874,6 @@ void CClientPed::StreamedInPulse ( bool bDoStandardPulses )
28742874
// Is it loaded now?
28752875
if ( m_pAnimationBlock->IsLoaded () )
28762876
{
2877-
printf("\nstreamed in pulse for ped\n\n");
28782877
if ( m_bisCurrentAnimationCustom )
28792878
{
28802879
m_bisNextAnimationCustom = true;
@@ -3740,7 +3739,6 @@ void CClientPed::_CreateModel ( void )
37403739
// Are we still playing a looped animation?
37413740
if ( m_bLoopAnimation && m_pAnimationBlock )
37423741
{
3743-
printf("\n create model for ped\n\n");
37443742
if ( m_bisCurrentAnimationCustom )
37453743
{
37463744
m_bisNextAnimationCustom = true;
@@ -4042,7 +4040,6 @@ void CClientPed::_ChangeModel ( void )
40424040
// Are we still playing a looped animation?
40434041
if ( m_bLoopAnimation && m_pAnimationBlock )
40444042
{
4045-
printf("\nchange model for ped\n\n");
40464043
if ( m_bisCurrentAnimationCustom )
40474044
{
40484045
m_bisNextAnimationCustom = true;

Client/mods/deathmatch/logic/CIFPAnimations.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ CIFPAnimations::CIFPAnimations ( void )
88

99
CIFPAnimations::~CIFPAnimations ( void )
1010
{
11-
printf("~CIFPAnimations(): Going to call DeleteAnimations\n");
1211
DeleteAnimations ( );
1312
}
1413

@@ -40,5 +39,4 @@ void CIFPAnimations::DeleteAnimations ( void )
4039
}
4140
delete it->pSequencesMemory;
4241
}
43-
printf("CIFPAnimations::DeleteAnimations: IFP Animations have been unloaded successfully!\n");
4442
}

0 commit comments

Comments
 (0)