about summary refs log tree commit diff
path: root/src/engine
diff options
context:
space:
mode:
authorMagnus Auvinen <magnus.auvinen@gmail.com>2008-01-13 16:30:30 +0000
committerMagnus Auvinen <magnus.auvinen@gmail.com>2008-01-13 16:30:30 +0000
commite26b898b74405f7133778c2fae2609c986f040fc (patch)
tree05a5c8a4812fc53c37578176ba189200bea18ebf /src/engine
parent06671c4494a703f25275b130c458e1b6e97b1d07 (diff)
downloadzcatch-e26b898b74405f7133778c2fae2609c986f040fc.tar.gz
zcatch-e26b898b74405f7133778c2fae2609c986f040fc.zip
various fixes. continued on the editor
Diffstat (limited to 'src/engine')
-rw-r--r--src/engine/client/ec_gfx.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/engine/client/ec_gfx.c b/src/engine/client/ec_gfx.c
index e86d5473..b71cb186 100644
--- a/src/engine/client/ec_gfx.c
+++ b/src/engine/client/ec_gfx.c
@@ -577,6 +577,7 @@ void gfx_swap()
 			for(; index < 1000; index++)
 			{
 				IOHANDLE io;
+				sprintf(filename, "screenshots/screenshot%04d.png", index);
 				engine_savepath(filename, wholepath, sizeof(wholepath));
 				
 				io = io_open(wholepath, IOFLAG_READ);