]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
You moron, vtos has ' ' around the vectors.
authorSamual Lenks <samual@xonotic.org>
Tue, 28 Aug 2012 23:23:05 +0000 (19:23 -0400)
committerSamual Lenks <samual@xonotic.org>
Tue, 28 Aug 2012 23:23:05 +0000 (19:23 -0400)
qcsrc/client/command/cl_cmd.qc

index 7ec847e0db98c10632ef6f4cdb8b49750c29fd14..f286c4ccd6f2cdd21a7ea6986e62c119cc9db497 100644 (file)
@@ -71,8 +71,8 @@ void LocalCommand_create_scrshot_ent(float request)
                        {
                                fputs(fh, "{\n");
                                fputs(fh, strcat("\"classname\" \"info_autoscreenshot\"\n"));
-                               fputs(fh, strcat("\"origin\" \"", vtos(view_origin), "\"\n"));
-                               fputs(fh, strcat("\"angles\" \"", vtos(view_angles), "\"\n"));
+                               fputs(fh, strcat("\"origin\" \"", strcat(view_origin_x, " ", view_origin_y, " ", view_origin_z), "\"\n"));
+                               fputs(fh, strcat("\"angles\" \"", strcat(view_angles_x, " ", view_angles_y, " ", view_angles_z), "\"\n"));
                                fputs(fh, "}\n");
                                
                                print("Completed screenshot entity dump in ^2data/data/", MapInfo_Map_bspname, "_scrshot_ent.txt^7.\n");