mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-11-16 02:04:48 +00:00
third person perspective ('3') now works in FPP (ok this is confusing)
This commit is contained in:
parent
5ec495443e
commit
7f1f6acbf7
@ -987,9 +987,10 @@ bool gmodekeys(int sym, int uni) {
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
if(NUMBERKEY == '1') { vid.yshift = 0; vid.sspeed = 0; }
|
auto& ysh = (WDIM == 2 ? vid.camera : vid.yshift);
|
||||||
else if(NUMBERKEY == '2') { vid.yshift = 0; vid.sspeed = -10; }
|
if(NUMBERKEY == '1') { ysh = 0; vid.sspeed = 0; }
|
||||||
else if(NUMBERKEY == '3') { vid.yshift = 1; vid.sspeed = 0; }
|
else if(NUMBERKEY == '2') { ysh = 0; vid.sspeed = -10; }
|
||||||
|
else if(NUMBERKEY == '3') { ysh = 1; vid.sspeed = 0; }
|
||||||
else if(NUMBERKEY == '5') { vid.wallmode = vid.wallmode == 5 ? 4 : 5; }
|
else if(NUMBERKEY == '5') { vid.wallmode = vid.wallmode == 5 ? 4 : 5; }
|
||||||
else return false;
|
else return false;
|
||||||
return true;
|
return true;
|
||||||
|
Loading…
Reference in New Issue
Block a user