shithub: sce

Download patch

ref: a4c273b2345da84aaa0409096965b4b3146f7eb6
parent: 45e74ee185103abd827298d0e9b264811d60f0e7
author: qwx <qwx@sciops.net>
date: Thu Aug 5 14:24:40 EDT 2021

oops

--- a/sim.c
+++ b/sim.c
@@ -118,7 +118,7 @@
 {
 	Command *c;
 
-	fprint(2, "pushcommand %s %#p\n", mo->o->name, mo);
+	dprint("C pushcommand %s %#p\n", mo->o->name, mo);
 	if(mo->ctail >= nelem(mo->cmds)){
 		werrstr("command buffer overflow");
 		return nil;
@@ -141,7 +141,6 @@
 			continue;
 		if(mo->actp == nil
 		&& (mo->cmds[0].initfn(mo) < 0 || mo->actp == nil || mo->state == OSskymaybe)){
-			/* FIXME: always skymaybe */
 			abortcommands(mo);
 			continue;
 		}