From: Samual Lenks Date: Tue, 28 Aug 2012 23:23:05 +0000 (-0400) Subject: You moron, vtos has ' ' around the vectors. X-Git-Tag: xonotic-v0.7.0~257 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=2a42e9bdf08beafc2be7c0d50d2a1f1e5ba138b4;p=xonotic%2Fxonotic-data.pk3dir.git You moron, vtos has ' ' around the vectors. --- diff --git a/qcsrc/client/command/cl_cmd.qc b/qcsrc/client/command/cl_cmd.qc index 7ec847e0d..f286c4ccd 100644 --- a/qcsrc/client/command/cl_cmd.qc +++ b/qcsrc/client/command/cl_cmd.qc @@ -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");