From a8fb732b0eeca49faf76a49846bf607331aaab2d Mon Sep 17 00:00:00 2001 From: Magnus Auvinen Date: Mon, 20 Oct 2008 22:43:14 +0000 Subject: fixed reset for characters --- src/game/server/entities/character.cpp | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'src') 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; -- cgit 1.4.1