mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-20 06:58:20 +00:00
fixed reset for characters
This commit is contained in:
parent
8eee526360
commit
a8fb732b0e
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue