summaryrefslogtreecommitdiffstats
path: root/src/jake2
diff options
context:
space:
mode:
Diffstat (limited to 'src/jake2')
-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);