]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/client/rubble.qc
Entity debugger
[xonotic/xonotic-data.pk3dir.git] / qcsrc / client / rubble.qc
index 5af2e235070f7c5d7b63f2fc3d30353f0f206cfd..3a0d3430d53870c3357eba564bb6adb9da9a2898 100644 (file)
@@ -45,9 +45,8 @@ void RubbleLimit(string cname, float limit, void() deleteproc)
 
 entity RubbleNew(string cname)
 {
-       entity e;
        // spawn a new entity and return it
-       e = spawn();
+       entity e = spawn();
        e.classname = cname;
        e.creationtime = time;
        return e;