mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-01-11 09:50:34 +00:00
manual-animation: 'u' now can clear the whole recording
This commit is contained in:
parent
541448ca38
commit
689adb8681
@ -339,10 +339,10 @@ bool trailer_handleKey(int sym, int uni) {
|
||||
return true;
|
||||
}
|
||||
|
||||
if(sym == 'u' && isize(saved) > 40) {
|
||||
for(int i=0; i<30; i++) saved.pop_back();
|
||||
if(sym == 'u') {
|
||||
for(int i=0; i<30; i++) if(isize(saved)) saved.pop_back();
|
||||
println(hlog, "back to ", isize(saved), " frames");
|
||||
recall();
|
||||
if(isize(saved)) recall();
|
||||
return true;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user