/[enigma]/enigma/src/world.cc
ViewVC logotype

Diff of /enigma/src/world.cc

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.27 by reallysoft, Sun May 11 17:45:50 2003 UTC revision 1.28 by reallysoft, Mon May 12 20:38:04 2003 UTC
# Line 711  tick_actor(Actor *a, double dtime) Line 711  tick_actor(Actor *a, double dtime)
711          handle_contacts(a);          handle_contacts(a);
712    
713          rest_time -= dt;          rest_time -= dt;
714          ai.oldpos = ai.pos;          ai.oldpos  = ai.pos;
715          ai.oldvel = ai.vel;          ai.oldvel  = ai.vel;
716    
717          // time step too small?          // time step too small?
718          if (l < 0.01) {          if (l < 0.01) {
# Line 720  tick_actor(Actor *a, double dtime) Line 720  tick_actor(Actor *a, double dtime)
720              dt = dt > rest_time? rest_time : dt;              dt = dt > rest_time? rest_time : dt;
721          }          }
722      }      }
723        a->think(dtime);
724  }  }
725    
726   // world:: global functions   // world:: global functions

Legend:
Removed from v.1.27  
changed lines
  Added in v.1.28

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26