mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2026-11-28 16:23:08 +00:00
removed redundant pre-changes orbused rollback, and made it more elegant in movegolem
This commit is contained in:
1 parent
9110b6ac88
commit
466cc5cc0a
3 files changed
+2
-14
No files matched your search
@@ -5115,10 +5115,7 @@ EX void drawthemap() {
|
||||
cellwalker cw = cwt; bool f = flipplayer;
|
||||
items[itWarning]+=2;
|
||||
|
||||
bool recorduse[ittypes];
|
||||
for(int i=0; i<ittypes; i++) recorduse[i] = orbused[i];
|
||||
movepcto(mousedest.d, mousedest.subdir, true);
|
||||
for(int i=0; i<ittypes; i++) orbused[i] = recorduse[i];
|
||||
items[itWarning] -= 2;
|
||||
if(cw.spin != cwt.spin) mirror::act(-mousedest.d, mirror::SPINSINGLE);
|
||||
cwt = cw; flipplayer = f;
|
||||
|
||||
Reference in new issue
Block a user