mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-10-22 09:27:40 +00:00
reset qfi.tinf when setting a non-textured floor
This commit is contained in:
@@ -607,12 +607,14 @@ void set_no_floor() {
|
|||||||
void set_floor(floorshape& sh) {
|
void set_floor(floorshape& sh) {
|
||||||
qfi.fshape = &sh;
|
qfi.fshape = &sh;
|
||||||
qfi.shape = NULL;
|
qfi.shape = NULL;
|
||||||
|
qfi.tinf = NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
void set_floor(hpcshape& sh) {
|
void set_floor(hpcshape& sh) {
|
||||||
qfi.shape = &sh;
|
qfi.shape = &sh;
|
||||||
qfi.fshape = NULL;
|
qfi.fshape = NULL;
|
||||||
qfi.spin = Id;
|
qfi.spin = Id;
|
||||||
|
qfi.tinf = NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
void set_floor(const transmatrix& spin, hpcshape& sh) {
|
void set_floor(const transmatrix& spin, hpcshape& sh) {
|
||||||
|
Reference in New Issue
Block a user