Override mapping of D1 secret door texture
Previously, this texture was handled by the default branch, which would add 64. For this texture, adding 64 picks a frame late in an animation, causing the texture to have transparent areas. The intended texture, as used in D1, has no transparent areas. Add a special case to pick the first frame, which appears solid. Reported-by: Q3BFG10K <https://github.com/dxx-rebirth/dxx-rebirth/issues/577> Analyzed-by: AlumiuN <https://github.com/dxx-rebirth/dxx-rebirth/issues/577#issuecomment-783002296>
This commit is contained in:
parent
414c59c6ba
commit
32ef2969e6
|
@ -292,6 +292,7 @@ uint16_t convert_d1_tmap_num(const uint16_t d1_tmap_num)
|
|||
case 368: return 395;
|
||||
case 369: return 396;
|
||||
case 370: return d1_pig_present ? 195 : 392; // mntr04d (devil: -1)
|
||||
case 570: return 635;
|
||||
// range 371..584 handled by default case (wall01 and door frames)
|
||||
default:
|
||||
// ranges:
|
||||
|
|
Loading…
Reference in a new issue