[RPG] Can Large characters squeeze through a 5ft corridor between Walls of Fire

area-of-effectcreature-sizednd-5emovementspells

The rules for Squeezing on page 192 of the PHB state:

Squeezing into Smaller Spaces

A creature can squeeze through a space that is large enough for a
creature one size smaller than it. Thus, a Large creature can squeeze
through a passage that's only 5 feet wide.

Using these rules, can an Ogre squeeze through a corridor that is 5 feet wide and has one or both walls created by the Wall of Fire spell without entering the spells' area and taking damage?

For context, in the actual situation there was a straight brick wall, and a PC cast a straight-line Wall of Fire parallel to that wall, with the damaging heat emanating outside the formed corridor, leaving a 5ft wide safe gap for the PCs to fit through. The intent was to force the Large enemies to take fire damage, should they choose to approach the PCs through the corridor.

Best Answer

The rules for squeezing that you quoted don't actually indicate that a creature needs solid walls to squeeze; it merely says "through a space that's large enough", and the space between two walls, even immaterial walls, is a space. So as-written, yes, the ogre would be able to squeeze down the middle. However, this really lands on the DM to decide in terms of what's best for your particular game.

But it doesn't need to be a simple yes or no answer. It's easy to imagine somebody sliding sideways between two walls while trying not to touch anything -- suck in your gut, and so on -- but bumping against a surface is certainly a possibility, so a DM could have the creature make a Dexterity check or save against a fixed DC to see if they can make it through safely or if they bumble into the dangerous wall and take damage.