diff options
| author | Alfred Eriksson <somerunce@gmail.com> | 2008-10-18 09:21:40 +0000 |
|---|---|---|
| committer | Alfred Eriksson <somerunce@gmail.com> | 2008-10-18 09:21:40 +0000 |
| commit | ddcfc69c03f40dbd9840ad4dae5d6c2fd2a05ff9 (patch) | |
| tree | fa10588751e4a746d0ccd606b15f6639667bba08 /src/game | |
| parent | 714e49b8cf5679faef0abe945014d6d260ceb643 (diff) | |
| download | zcatch-ddcfc69c03f40dbd9840ad4dae5d6c2fd2a05ff9.tar.gz zcatch-ddcfc69c03f40dbd9840ad4dae5d6c2fd2a05ff9.zip | |
fixed #507
Diffstat (limited to 'src/game')
| -rw-r--r-- | src/game/server/player.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/game/server/player.cpp b/src/game/server/player.cpp index cc12c48a..04b3e4ef 100644 --- a/src/game/server/player.cpp +++ b/src/game/server/player.cpp @@ -139,7 +139,8 @@ void PLAYER::kill_character() void PLAYER::respawn() { - spawning = true; + if(team > -1) + spawning = true; } void PLAYER::set_team(int new_team) |