aboutsummaryrefslogtreecommitdiffstats
path: root/src/jake2
diff options
context:
space:
mode:
authorRene Stoeckel <[email protected]>2005-12-11 00:02:07 +0000
committerRene Stoeckel <[email protected]>2005-12-11 00:02:07 +0000
commit2e092638fea0c859a4fd8e7169a1f1d394d0a215 (patch)
tree312cf9d5fadea1d3c00c7df76d6c8cda4e65020b /src/jake2
parent73aa25699746b917192f2d9801f953e2f279a53b (diff)
fix gravity bug
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 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);