- respect FF_INVERTSECTOR when checking a 3D floor's terrain.

This commit is contained in:
Christoph Oelckers 2015-06-07 09:33:15 +02:00
parent 2b59a35e84
commit 3fea074d35
1 changed files with 1 additions and 1 deletions

View File

@ -349,7 +349,7 @@ void P_PlayerOnSpecial3DFloor(player_t* player)
// Apply flat specials (using the ceiling!)
P_PlayerOnSpecialFlat(
player, TerrainTypes[rover->model->GetTexture(sector_t::ceiling)]);
player, TerrainTypes[rover->model->GetTexture(rover->flags & FF_INVERTSECTOR? sector_t::floor : sector_t::ceiling)]);
break;
}