]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/common/weapons/weapon/porto.qc
Step 6: complete
[xonotic/xonotic-data.pk3dir.git] / qcsrc / common / weapons / weapon / porto.qc
index 8a0254bfb63ffe43bf2df8c61cfd372028bd6405..a512ad2ca85eb80dd522e7c8a74e0acc63057743 100644 (file)
@@ -57,7 +57,7 @@ void W_Porto_Success(entity this)
 {
        if(this.realowner == world)
        {
-               objerror("Cannot succeed successfully: no owner\n");
+               objerror(this, "Cannot succeed successfully: no owner\n");
                return;
        }
 
@@ -70,7 +70,7 @@ void W_Porto_Fail(entity this, float failhard)
 {
        if(this.realowner == world)
        {
-               objerror("Cannot fail successfully: no owner\n");
+               objerror(this, "Cannot fail successfully: no owner\n");
                return;
        }