.touch fixes.
This commit is contained in:
parent
2bb6ca9628
commit
02114e9188
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
*/
|
||||
|
||||
void
|
||||
item_pickup::touch(void)
|
||||
item_pickup::Touch(entity eToucher)
|
||||
{
|
||||
if (other.classname != "player") {
|
||||
return;
|
||||
|
|
Loading…
Reference in New Issue