From a441ba4349249847ffc9ea7a38d53714bb1e24ba Mon Sep 17 00:00:00 2001 From: Marco Hladik Date: Fri, 18 Jun 2021 09:27:58 +0200 Subject: [PATCH] Remove usage of printf --- src/server/info_tfgoal.qc | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/server/info_tfgoal.qc b/src/server/info_tfgoal.qc index 065e300..0313189 100644 --- a/src/server/info_tfgoal.qc +++ b/src/server/info_tfgoal.qc @@ -144,17 +144,17 @@ info_tfgoal::touch(void) } if (!findme) { - printf("can't find the pickup\n"); + print("can't find the pickup\n"); return; } if (findme.solid != SOLID_NOT) { - printf("the item is not picked up.\n"); + print("the item is not picked up.\n"); return; } if (findme.m_eActivator != pl) { - printf("you are not the items activator.\n"); + print("you are not the items activator.\n"); return; } else { /* unset the activator and make it reappear */ @@ -436,7 +436,6 @@ i_t_g::i_t_g(void) SpawnKey(argv(i), argv(i+1)); } - CBaseEntity::CBaseEntity(); precache_sound(m_strActivatedSound);