From b93f5f6ffaf79e232c49cf91a2b117d12ea10e23 Mon Sep 17 00:00:00 2001 From: Rene Stoeckel Date: Mon, 12 Dec 2005 21:47:30 +0000 Subject: better bugfix for gravity problem --- src/jake2/game/GameSpawn.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/jake2') 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); -- cgit v1.2.3