summaryrefslogtreecommitdiffstats
path: root/apps/plugins/sdl
diff options
context:
space:
mode:
authorFranklin Wei <git@fwei.tk>2019-07-20 17:36:25 -0400
committerFranklin Wei <git@fwei.tk>2019-07-21 15:13:35 -0400
commitf83de422fa7f4d107ce69a1be66cf35afb60314f (patch)
tree9ac1e2aa9862f506ca9e00b1a2353fca08afd39e /apps/plugins/sdl
parent5a84239e43d6be65e6265ef06a71a7ff66f25fd8 (diff)
downloadrockbox-f83de422fa7f4d107ce69a1be66cf35afb60314f.tar.gz
rockbox-f83de422fa7f4d107ce69a1be66cf35afb60314f.tar.bz2
rockbox-f83de422fa7f4d107ce69a1be66cf35afb60314f.zip
quake: enable building Quake2
Change-Id: I67f8f7c6e7e337806751057d1c9ebdae16c54119
Diffstat (limited to 'apps/plugins/sdl')
-rw-r--r--apps/plugins/sdl/progs/quake/host_cmd.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/plugins/sdl/progs/quake/host_cmd.c b/apps/plugins/sdl/progs/quake/host_cmd.c
index 498eec0d3a..5e3ad397aa 100644
--- a/apps/plugins/sdl/progs/quake/host_cmd.c
+++ b/apps/plugins/sdl/progs/quake/host_cmd.c
@@ -734,8 +734,8 @@ void SaveGamestate()
fprintf (f, "%i\n", SAVEGAME_VERSION);
Host_SavegameComment (comment);
fprintf (f, "%s\n", comment);
-// for (i=0 ; i<NUM_SPAWN_PARMS ; i++)
-// fprintf (f, "%f\n", svs.clients->spawn_parms[i]);
+ for (i=0 ; i<NUM_SPAWN_PARMS ; i++)
+ fprintf (f, "%f\n", svs.clients->spawn_parms[i]);
fprintf (f, "%f\n", skill.value);
fprintf (f, "%s\n", sv.name);
fprintf (f, "%f\n", sv.time);
@@ -775,7 +775,7 @@ int LoadGamestate(char *level, char *startspot)
edict_t *ent;
int entnum;
int version;
-// float spawn_parms[NUM_SPAWN_PARMS];
+ float spawn_parms[NUM_SPAWN_PARMS];
sprintf (name, "%s/%s.gip", com_gamedir, level);