mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-02-01 03:39:16 +00:00
racing:: added missing CAP_RACING guard
This commit is contained in:
parent
54f278963c
commit
41c3bd9b58
@ -1042,7 +1042,9 @@ void centerpc(ld aspd) {
|
||||
if(shmup::on && DIM == 3 && vid.sspeed > -5) {
|
||||
transmatrix at = ggmatrix(shmup::pc[0]->base) * shmup::pc[0]->at * cpush(2, -vid.yshift);
|
||||
View = inverse(at) * View;
|
||||
#if CAP_RACING
|
||||
if(racing::on) racing::set_view();
|
||||
#endif
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user