Changeset - r1567:c1c4cbdab8b2
[Not reviewed]
master
0 1 0
Darkvater - 19 years ago 2005-03-25 20:20:23
darkvater@openttd.org
(svn r2071) - Feature: [ 1168743 ] save command for console: "save <filename>" to save a game (pkirchhofer)
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
console_cmds.c
Show inline comments
 
@@ -150,7 +150,7 @@ static void SaveMap(const char *filename
 
{
 
	char buf[200];
 

	
 
	snprintf(buf, sizeof(buf), "%s%s%s.sav", _path.save_dir, PATHSEP, filename);
 
	snprintf(buf, lengthof(buf), "%s%s%s.sav", _path.save_dir, PATHSEP, filename);
 
	IConsolePrint(_iconsole_color_default, "Saving map...");
 

	
 
	if (SaveOrLoad(buf, SL_SAVE) != SL_OK) {
0 comments (0 inline, 0 general)