.touch fixes.

This commit is contained in:
Marco Cawthorne 2022-04-03 14:07:09 -07:00
parent 2bb6ca9628
commit 02114e9188
Signed by: eukara
GPG Key ID: C196CD8BA993248A
6 changed files with 11 additions and 11 deletions

View File

@ -31,11 +31,11 @@ class item_battery:CBaseEntity
{
void(void) item_battery;
virtual void(void) Respawn;
virtual void(void) touch;
virtual void(entity) Touch;
};
void
item_battery::touch(void)
item_battery::Touch(entity eToucher)
{
if (other.classname != "player") {
return;

View File

@ -26,11 +26,11 @@ class item_healthkit:CBaseEntity
{
void(void) item_healthkit;
virtual void(void) Respawn;
virtual void(void) touch;
virtual void(entity) Touch;
};
void
item_healthkit::touch(void)
item_healthkit::Touch(entity eToucher)
{
if (other.classname != "player") {
return;

View File

@ -27,12 +27,12 @@ class item_rune_haste:CBaseTrigger
{
void(void) item_rune_haste;
virtual void(void) touch;
virtual void(entity) Touch;
virtual void(void) Respawn;
};
void
item_rune_haste::touch(void)
item_rune_haste::Touch(entity eToucher)
{
if (other.classname != "player") {
return;

View File

@ -28,12 +28,12 @@ class item_rune_stalker:CBaseTrigger
{
void(void) item_rune_stalker;
virtual void(void) touch;
virtual void(entity) Touch;
virtual void(void) Respawn;
};
void
item_rune_stalker::touch(void)
item_rune_stalker::Touch(entity eToucher)
{
if (other.classname != "player") {
return;

View File

@ -25,12 +25,12 @@ class item_weaponbox:CBaseEntity
int weapon_items;
void(void) item_weaponbox;
virtual void(void) touch;
virtual void(entity) Touch;
virtual void(player) setup;
};
void
item_weaponbox::touch(void)
item_weaponbox::Touch(entity eToucher)
{
if (other.classname != "player") {
return;

View File

@ -15,7 +15,7 @@
*/
void
item_pickup::touch(void)
item_pickup::Touch(entity eToucher)
{
if (other.classname != "player") {
return;