aboutsummaryrefslogtreecommitdiffstats
path: root/src/jake2/game/GameSpawn.java
diff options
context:
space:
mode:
authorRene Stoeckel <[email protected]>2005-12-12 21:47:30 +0000
committerRene Stoeckel <[email protected]>2005-12-12 21:47:30 +0000
commitb93f5f6ffaf79e232c49cf91a2b117d12ea10e23 (patch)
tree910ebd15d9883e1f5c5bd25e17def63e3bc6f80f /src/jake2/game/GameSpawn.java
parent2e092638fea0c859a4fd8e7169a1f1d394d0a215 (diff)
better bugfix for gravity problem
Diffstat (limited to 'src/jake2/game/GameSpawn.java')
-rw-r--r--src/jake2/game/GameSpawn.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/jake2/game/GameSpawn.java b/src/jake2/game/GameSpawn.java
index f2a4356..463cdba 100644
--- a/src/jake2/game/GameSpawn.java
+++ b/src/jake2/game/GameSpawn.java
@@ -20,7 +20,7 @@
// Created on 18.11.2003 by RST.
-// $Id: GameSpawn.java,v 1.15 2005-12-11 00:02:07 salomo Exp $
+// $Id: GameSpawn.java,v 1.16 2005-12-12 21:47:30 salomo Exp $
package jake2.game;
@@ -204,7 +204,7 @@ public class GameSpawn {
GameBase.level.pic_health = GameBase.gi.imageindex("i_health");
GameBase.gi.imageindex("help");
GameBase.gi.imageindex("field_3");
- if (GameBase.st.gravity == "")
+ if ("".equals(GameBase.st.gravity))
GameBase.gi.cvar_set("sv_gravity", "800");
else
GameBase.gi.cvar_set("sv_gravity", GameBase.st.gravity);