Index: code/parse/sexp.cpp
===================================================================
--- code/parse/sexp.cpp	(revision 9753)
+++ code/parse/sexp.cpp	(working copy)
@@ -15984,7 +15984,7 @@
 	sindex = ship_name_lookup(CTEXT(n), 1);
 	if (sindex >= 0)
 	{
-		for ( ; n != -1; n = CDR(n))
+		for ( n = CDR(n); n != -1; n = CDR(n))
 		{
 			num = eval_num(n);
 			if (num >= 0 && num < (int)Ships[sindex].glow_point_bank_active.size())
