Differences From Artifact [76a6b74abd]:
- File src/savegamedemo.mm — part of check-in [d2b3ff790f] at 2025-03-09 18:57:42 on branch trunk — Convert dynent to a class (user: js, size: 12289) [annotate] [blame] [check-ins using]
To Artifact [8ffa70a39e]:
- File
src/savegamedemo.mm
— part of check-in
[57b9a0a9db]
at
2025-03-10 20:39:51
on branch trunk
— Fix player not moving on demo playback
It's still broken, though. (user: js, size: 12372) [annotate] [blame] [check-ins using]
475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 | // insert latest copy of player into history if (extras && (playerhistory.count == 0 || playerhistory.lastObject.lastupdate != playbacktime)) { DynamicEntity *d = [target copy]; d.lastupdate = playbacktime; [playerhistory addObject:d]; if (playerhistory.count > 20) [playerhistory removeObjectAtIndex:0]; } readdemotime(); } | > > > > > | 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 | // insert latest copy of player into history if (extras && (playerhistory.count == 0 || playerhistory.lastObject.lastupdate != playbacktime)) { DynamicEntity *d = [target copy]; d.lastupdate = playbacktime; if (playerhistory == nil) playerhistory = [[OFMutableArray alloc] init]; [playerhistory addObject:d]; if (playerhistory.count > 20) [playerhistory removeObjectAtIndex:0]; } readdemotime(); } |