From 2e092638fea0c859a4fd8e7169a1f1d394d0a215 Mon Sep 17 00:00:00 2001 From: Rene Stoeckel Date: Sun, 11 Dec 2005 00:02:07 +0000 Subject: fix gravity bug --- src/jake2/game/GameSpawn.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/jake2/game/GameSpawn.java') diff --git a/src/jake2/game/GameSpawn.java b/src/jake2/game/GameSpawn.java index 1f24c99..f2a4356 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.14 2005-11-20 22:18:33 salomo Exp $ +// $Id: GameSpawn.java,v 1.15 2005-12-11 00:02:07 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 != null) + if (GameBase.st.gravity == "") GameBase.gi.cvar_set("sv_gravity", "800"); else GameBase.gi.cvar_set("sv_gravity", GameBase.st.gravity); -- cgit v1.2.3