diff options
author | Carsten Weisse <[email protected]> | 2005-01-23 20:04:06 +0000 |
---|---|---|
committer | Carsten Weisse <[email protected]> | 2005-01-23 20:04:06 +0000 |
commit | e39c6f05a296e872b4b4dd024913c67dfdc9c19f (patch) | |
tree | cd004552513792662cd73281ed4b0f784bb1be5e /src/jake2/game/Cmd.java | |
parent | 48a610b869b67b56c9450a2264165f614064fb55 (diff) |
now it works without null and handles empty strings correctly
Diffstat (limited to 'src/jake2/game/Cmd.java')
-rw-r--r-- | src/jake2/game/Cmd.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/jake2/game/Cmd.java b/src/jake2/game/Cmd.java index 749612e..621937e 100644 --- a/src/jake2/game/Cmd.java +++ b/src/jake2/game/Cmd.java @@ -2,7 +2,7 @@ * Cmd.java * Copyright (C) 2003 * - * $Id: Cmd.java,v 1.9 2005-01-23 19:00:07 cawe Exp $ + * $Id: Cmd.java,v 1.10 2005-01-23 20:04:02 cawe Exp $ */ /* Copyright (C) 1997-2001 Id Software, Inc. @@ -284,7 +284,7 @@ public final class Cmd { com_token = Com.Parse(ph); - if (com_token == null) + if (ph.data == null) return; if (cmd_argc < Defines.MAX_STRING_TOKENS) { |