diff options
author | Holger Zickner <[email protected]> | 2004-07-23 10:09:55 +0000 |
---|---|---|
committer | Holger Zickner <[email protected]> | 2004-07-23 10:09:55 +0000 |
commit | a161d9817f1a86aedffb8789e2134c6a29e5fa35 (patch) | |
tree | 9d5298865c5a7781c099a0f3fca94c2205476610 /src/jake2/game/GameSpawn.java | |
parent | 4d14584117e56e51ea4fd69de1807a0e3329e7dc (diff) |
replace Lib functions
Diffstat (limited to 'src/jake2/game/GameSpawn.java')
-rw-r--r-- | src/jake2/game/GameSpawn.java | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/src/jake2/game/GameSpawn.java b/src/jake2/game/GameSpawn.java index 34412fd..7dc4934 100644 --- a/src/jake2/game/GameSpawn.java +++ b/src/jake2/game/GameSpawn.java @@ -19,13 +19,12 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ // Created on 18.11.2003 by RST. -// $Id: GameSpawn.java,v 1.3 2004-07-09 06:50:49 hzi Exp $ +// $Id: GameSpawn.java,v 1.4 2004-07-23 10:07:14 hzi Exp $ package jake2.game; -import jake2.Defines; -import jake2.util.*; -import jake2.qcommon.*; +import jake2.qcommon.Com; +import jake2.util.Lib; public class GameSpawn extends GameSave { @@ -595,14 +594,14 @@ public class GameSpawn extends GameSave { if (item.classname == null) continue; - if (0 == Lib.stricmp(item.classname, ent.classname)) { // found it + if (item.classname.equalsIgnoreCase(ent.classname)) { // found it SpawnItem(ent, item); return; } } // check normal spawn functions for (i=0; (s = spawns[i]) !=null && s.name != null; i++) { - if (0 == Lib.stricmp(s.name, ent.classname)) { // found it + if (s.name.equalsIgnoreCase(ent.classname)) { // found it if (s.spawn == null) gi.error("ED_CallSpawn: null-spawn on index=" + i); |