aboutsummaryrefslogtreecommitdiffstats
path: root/src/jake2/game/PlayerClient.java
diff options
context:
space:
mode:
authorRene Stoeckel <[email protected]>2004-08-20 21:29:58 +0000
committerRene Stoeckel <[email protected]>2004-08-20 21:29:58 +0000
commit93a1cb6d6bfa9d7a80c004100125c829f1f36e86 (patch)
tree4ca88afc7718f8e63bd7f91aeccfe3c0fe66634e /src/jake2/game/PlayerClient.java
parenta1a1c7334c9b03113344078d2d7977193a1d7b5e (diff)
savegames now seem to work.
Diffstat (limited to 'src/jake2/game/PlayerClient.java')
-rw-r--r--src/jake2/game/PlayerClient.java11
1 files changed, 3 insertions, 8 deletions
diff --git a/src/jake2/game/PlayerClient.java b/src/jake2/game/PlayerClient.java
index a7d06dd..3bb09f0 100644
--- a/src/jake2/game/PlayerClient.java
+++ b/src/jake2/game/PlayerClient.java
@@ -19,7 +19,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
// Created on 28.12.2003 by RST.
-// $Id: PlayerClient.java,v 1.3 2004-07-08 20:24:29 hzi Exp $
+// $Id: PlayerClient.java,v 1.4 2004-08-20 21:29:58 salomo Exp $
package jake2.game;
@@ -355,9 +355,11 @@ public class PlayerClient extends PlayerHud {
ent = g_edicts[1 + i];
if (!ent.inuse)
continue;
+
game.clients[i].pers.health = ent.health;
game.clients[i].pers.max_health = ent.max_health;
game.clients[i].pers.savedFlags = (ent.flags & (FL_GODMODE | FL_NOTARGET | FL_POWER_ARMOR));
+
if (coop.value != 0)
game.clients[i].pers.score = ent.client.resp.score;
}
@@ -371,13 +373,6 @@ public class PlayerClient extends PlayerHud {
ent.client.resp.score = ent.client.pers.score;
}
- /*
- =======================================================================
-
- SelectSpawnPoint
-
- =======================================================================
- */
/*
================