mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-01-12 10:20:32 +00:00
fixed incorrect mouse interpretation in models
This commit is contained in:
parent
1d468b1685
commit
8426007577
@ -237,6 +237,8 @@ void applymodel(hyperpoint H, hyperpoint& ret) {
|
|||||||
|
|
||||||
using namespace hyperpoint_vec;
|
using namespace hyperpoint_vec;
|
||||||
|
|
||||||
|
hyperpoint H_orig = H;
|
||||||
|
|
||||||
switch(pmodel) {
|
switch(pmodel) {
|
||||||
case mdUnchanged:
|
case mdUnchanged:
|
||||||
ret = H / current_display->radius;
|
ret = H / current_display->radius;
|
||||||
@ -596,7 +598,7 @@ void applymodel(hyperpoint H, hyperpoint& ret) {
|
|||||||
case mdGUARD: break;
|
case mdGUARD: break;
|
||||||
}
|
}
|
||||||
|
|
||||||
ghcheck(ret,H);
|
ghcheck(ret,H_orig);
|
||||||
}
|
}
|
||||||
|
|
||||||
// game-related graphics
|
// game-related graphics
|
||||||
|
Loading…
Reference in New Issue
Block a user