aboutsummaryrefslogtreecommitdiffstats
path: root/src/jake2
diff options
context:
space:
mode:
authorCarsten Weisse <[email protected]>2004-09-28 22:47:41 +0000
committerCarsten Weisse <[email protected]>2004-09-28 22:47:41 +0000
commit8d9a3e9d9db1adce0afd2e01062651d035d56db8 (patch)
tree8229f57565bfdb6aee24e293442851e99b1a93ce /src/jake2
parentf81ccef351d09592746720f85345efab990cbb6a (diff)
instatiate is not necessary
Diffstat (limited to 'src/jake2')
-rw-r--r--src/jake2/game/SuperAdapter.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/jake2/game/SuperAdapter.java b/src/jake2/game/SuperAdapter.java
index 0c530d1..3474888 100644
--- a/src/jake2/game/SuperAdapter.java
+++ b/src/jake2/game/SuperAdapter.java
@@ -19,7 +19,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
// Created on 09.01.2004 by RST.
-// $Id: SuperAdapter.java,v 1.4 2004-09-12 18:25:49 salomo Exp $
+// $Id: SuperAdapter.java,v 1.5 2004-09-28 22:47:41 cawe Exp $
package jake2.game;
@@ -53,7 +53,7 @@ public class SuperAdapter {
// load class and instantiate
try {
//Com.DPrintf("SuperAdapter.getFromID():loading class->" + classname + "\n");
- Class.forName(classname).newInstance();
+ Class.forName(classname);
}
catch (Exception e) {
Com.DPrintf("SuperAdapter.getFromID():class not found->" + classname + "\n");