in randomwalk/total chaos modes, special graphics are no longer used for Warped Coast

This commit is contained in:
Zeno Rogue 2019-10-05 18:46:58 +02:00
parent f5b26cc07a
commit 8674b3bc23
1 changed files with 8 additions and 1 deletions

View File

@ -3955,9 +3955,16 @@ void floorShadow(cell *c, const transmatrix& V, color_t col) {
draw_shapevec(c, V, qfi.fshape->shadow, col, PPR::WALLSHADOW);
}
bool use_warp_graphics() {
if(shmup::on) return false;
if(geosupport_football() != 2) return false;
if(chaosmode == 3 || chaosmode == 4) return false;
return true;
}
void set_maywarp_floor(cell *c) {
bool warp = isWarped(c);
if(warp && !shmup::on && geosupport_football() == 2) {
if(warp && use_warp_graphics()) {
if(!stdhyperbolic) {
set_floor(cgi.shTriheptaFloor);
return;