about summary refs log tree commit diff
path: root/src/game/server/entities
diff options
context:
space:
mode:
authorMagnus Auvinen <magnus.auvinen@gmail.com>2008-10-20 22:43:14 +0000
committerMagnus Auvinen <magnus.auvinen@gmail.com>2008-10-20 22:43:14 +0000
commita8fb732b0eeca49faf76a49846bf607331aaab2d (patch)
tree441599f8c92fb7c6c47fa5e614679b598318e611 /src/game/server/entities
parent8eee526360fbef761da973ff9932e629c5153896 (diff)
downloadzcatch-a8fb732b0eeca49faf76a49846bf607331aaab2d.tar.gz
zcatch-a8fb732b0eeca49faf76a49846bf607331aaab2d.zip
fixed reset for characters
Diffstat (limited to 'src/game/server/entities')
-rw-r--r--src/game/server/entities/character.cpp7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/game/server/entities/character.cpp b/src/game/server/entities/character.cpp
index aa0adcf5..2efaf00f 100644
--- a/src/game/server/entities/character.cpp
+++ b/src/game/server/entities/character.cpp
@@ -44,16 +44,11 @@ CHARACTER::CHARACTER()
 
 void CHARACTER::reset()
 {
-	
+	destroy();
 }
 
 bool CHARACTER::spawn(PLAYER *player, vec2 pos, int team)
 {
-	/*
-	~CHARACTER();
-	mem_zero(this, sizeof(CHARACTER));
-	new(this) CHARACTER();*/
-	
 	player_state = PLAYERSTATE_UNKNOWN;
 	emote_stop = -1;
 	last_action = -1;