mirror of
				https://github.com/zenorogue/hyperrogue.git
				synced 2025-11-04 07:43:02 +00:00 
			
		
		
		
	racing:: reset footphase for ghosts who have reached the target
This commit is contained in:
		@@ -867,7 +867,7 @@ void markers() {
 | 
			
		||||
    if(!ghosts_left) break;
 | 
			
		||||
    ghosts_left--;
 | 
			
		||||
    auto p = std::find_if(ghost.history.begin(), ghost.history.end(), [] (const ghostmoment gm) { return gm.step > ticks - race_start_tick;} );
 | 
			
		||||
    if(p == ghost.history.end()) p--;
 | 
			
		||||
    if(p == ghost.history.end()) p--, p->footphase = 0;
 | 
			
		||||
    cell *w = rti[p->where_id].c;
 | 
			
		||||
    if(!gmatrix.count(w)) continue;
 | 
			
		||||
    dynamicval<charstyle> x(getcs(), ghost.cs);
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user