The power armor toxic gas check and electricity check problem

I have wear the power armor and helmet and enable on the mine adits, will I saw the toxic gas, I know my power helmet can help to deal with those gas, but the game it seem dosn’t “check” the power armor’s gas defense, it keep popup the menu “are you sure you going into the toxic gas?”, and it’s very annoying for that, same thing can happen on the electricity shock, when the zombie shoot electricity at me, my power armor does have resistance for the electricity, but it still popup the menu and keep disturb me, waiting for someone fix it.

Last I knew this was located in game.cpp. If nobody beats me to it I can probably throw a fix up tomorrow (OK, later today).

(What, you thought DDA dev takes Easter off? Afraid not.)