Remove usage of printf
This commit is contained in:
parent
b7dab86f17
commit
a441ba4349
1 changed files with 3 additions and 4 deletions
|
@ -144,17 +144,17 @@ info_tfgoal::touch(void)
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!findme) {
|
if (!findme) {
|
||||||
printf("can't find the pickup\n");
|
print("can't find the pickup\n");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (findme.solid != SOLID_NOT) {
|
if (findme.solid != SOLID_NOT) {
|
||||||
printf("the item is not picked up.\n");
|
print("the item is not picked up.\n");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (findme.m_eActivator != pl) {
|
if (findme.m_eActivator != pl) {
|
||||||
printf("you are not the items activator.\n");
|
print("you are not the items activator.\n");
|
||||||
return;
|
return;
|
||||||
} else {
|
} else {
|
||||||
/* unset the activator and make it reappear */
|
/* unset the activator and make it reappear */
|
||||||
|
@ -436,7 +436,6 @@ i_t_g::i_t_g(void)
|
||||||
SpawnKey(argv(i), argv(i+1));
|
SpawnKey(argv(i), argv(i+1));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
CBaseEntity::CBaseEntity();
|
CBaseEntity::CBaseEntity();
|
||||||
|
|
||||||
precache_sound(m_strActivatedSound);
|
precache_sound(m_strActivatedSound);
|
||||||
|
|
Loading…
Reference in a new issue