Fixed Bug #7411 crash when loading this saved game(Magnant)

This commit is contained in:
wizzard 2004-01-25 05:20:57 +00:00
parent 05c3be548a
commit 8ad779afe7
2 changed files with 2 additions and 1 deletions

View file

@ -36,6 +36,7 @@
<li>Future 2.00 Release<p>
<ul>
<li>++
<li>Fixed Bug #7411: crash when loading this saved game(Magnant) (from Russell Smith).
<li>Drawing mirror images for units and missiles facing left is optional (from Jimmy Salmon).
<li>Moved cheat codes out of the engine and into ccl (from Jimmy Salmon).
<li>Converted scripts to Lua (from Jimmy Salmon).

View file

@ -1395,7 +1395,7 @@ local void SaveMissile(const Missile* missile, CLFile* file)
CLprintf(file, " \"step\", {%d, %d},",
missile->CurrentStep, missile->TotalStep);
CLprintf(file, " \"%s\",", missile->Local ? "local" : "global");
CLprintf(file, " \"%s\"", missile->Local ? "local" : "global");
// MissileSlot filled in during init
CLprintf(file, ")\n");