blob: 0ac3512b449dd36573fac7b65b072883672f05d8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
$NetBSD: patch-aj,v 1.1 2002/07/16 14:26:21 agc Exp $
--- abuse/src/demo.c 2002/07/16 14:01:47 1.1
+++ abuse/src/demo.c 2002/07/16 14:02:40
@@ -51,6 +51,8 @@
int demo_manager::start_recording(char *filename)
{
+ char *msg1 = "DEMO,VERSION:2";
+
if (!current_level) return 0;
record_file=open_file(filename,"wb");
@@ -60,7 +62,7 @@
strcpy(name,current_level->name());
the_game->load_level(name);
- record_file->write("DEMO,VERSION:2",14);
+ record_file->write(msg1,14);
record_file->write_byte(strlen(name)+1);
record_file->write(name,strlen(name)+1);
|