shithub: rott

Download patch

ref: cc03440ad67a7da88cff034fa8dbf7861af3f8fc
parent: e602c5210ab419f15125d9ae84139fc8f6f49d45
author: Marc-Alexandre Espiaut <marcalexandre@member.fsf.org>
date: Tue Jun 5 09:24:00 EDT 2018

Removing obsolete development code from rt_actor.c

--- a/rott/rt_actor.c
+++ b/rott/rt_actor.c
@@ -110,9 +110,6 @@
 objtype           *new;
 
 void              *actorat[MAPSIZE][MAPSIZE];
-#if (DEVELOPMENT == 1)
-FILE *            williamdebug;
-#endif
 exit_t            playstate;
 
 void              T_SlideDownScreen(objtype*);
@@ -9875,9 +9872,6 @@
 
     if (!CheckLine(ob,PLAYER[0],SIGHT))
     {   //ob->temp3 = 0;
-        //#if ((DEVELOPMENT == 1))
-        //Debug("\nCheckLine failed in NME Attack");
-        //#endif
         NewState(ob,&s_NMEchase);
         NewState((objtype*)(ob->target),&s_NMEwheels2);
         if (!ob->temp2)
@@ -10087,10 +10081,6 @@
             //ob->y = ob->drawy = ob->targettiley;
             //ob->tilex = ob->x >> TILESHIFT;
             //ob->tiley = ob->y >> TILESHIFT;
-            //#if ((DEVELOPMENT == 1))
-            //	Debug("\nfollower %d being moved to targetx %4x and targety %4x",
-            //	  ob-SNAKEHEAD,ob->x,ob->y);
-            // #endif
             ob->targettilex = ob->temp1;
             ob->targettiley = ob->temp2;
 #if (0)