reset qfi.tinf when setting a non-textured floor

This commit is contained in:
Zeno Rogue 2018-08-04 11:15:05 +02:00
parent db7ccb47bc
commit 055a54500b
1 changed files with 2 additions and 0 deletions

View File

@ -607,12 +607,14 @@ void set_no_floor() {
void set_floor(floorshape& sh) {
qfi.fshape = &sh;
qfi.shape = NULL;
qfi.tinf = NULL;
}
void set_floor(hpcshape& sh) {
qfi.shape = &sh;
qfi.fshape = NULL;
qfi.spin = Id;
qfi.tinf = NULL;
}
void set_floor(const transmatrix& spin, hpcshape& sh) {