about summary refs log tree commit diff
path: root/src/game/server/hooks.cpp
diff options
context:
space:
mode:
authorMagnus Auvinen <magnus.auvinen@gmail.com>2009-01-12 21:41:16 +0000
committerMagnus Auvinen <magnus.auvinen@gmail.com>2009-01-12 21:41:16 +0000
commit123c5b5b9962f4af04ae2a0ca72fec668a1bea1e (patch)
tree77aa460967d62c22df18a0fe56486f1fcef6c9ed /src/game/server/hooks.cpp
parent1d6668583a23b45724e9b107604c0dbfae433f10 (diff)
downloadzcatch-123c5b5b9962f4af04ae2a0ca72fec668a1bea1e.tar.gz
zcatch-123c5b5b9962f4af04ae2a0ca72fec668a1bea1e.zip
introduced 3 special pseudo weapons. game, self and world to make a difference on how you got killed
Diffstat (limited to 'src/game/server/hooks.cpp')
-rw-r--r--src/game/server/hooks.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/server/hooks.cpp b/src/game/server/hooks.cpp
index 93ce3ae0..d557f99f 100644
--- a/src/game/server/hooks.cpp
+++ b/src/game/server/hooks.cpp
@@ -389,7 +389,7 @@ void mods_message(int msgtype, int client_id)
 			return;
 		
 		p->last_kill = time_get();
-		p->kill_character(); //(client_id, -1);
+		p->kill_character(WEAPON_SELF);
 		p->respawn_tick = server_tick()+server_tickspeed()*3;
 	}
 }