diff options
| author | Magnus Auvinen <magnus.auvinen@gmail.com> | 2008-10-20 22:43:14 +0000 |
|---|---|---|
| committer | Magnus Auvinen <magnus.auvinen@gmail.com> | 2008-10-20 22:43:14 +0000 |
| commit | a8fb732b0eeca49faf76a49846bf607331aaab2d (patch) | |
| tree | 441599f8c92fb7c6c47fa5e614679b598318e611 /src/game/server/entities | |
| parent | 8eee526360fbef761da973ff9932e629c5153896 (diff) | |
| download | zcatch-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.cpp | 7 |
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; |