Page 1 of 1

[b41]screen blurred for one turn after removing confusion

Posted: Mon Jul 09, 2012 8:31 am
by alocritani
When in confused state, screen becomes blurred.
Using a rune that remove the confusion effect, screen remains blurred until the start of next turn, even if I'm in fact not confused anymore.

Re: [b41]screen blurred for one turn after removing confusio

Posted: Mon Jul 09, 2012 10:31 am
by Dervic
A mild annoyance, that bug's been around for quite a while now. View isn't updated when a confusion effect is removed and maybe that's easy to do since it seems to work fine with blindness removal.

Re: [b41]screen blurred for one turn after removing confusio

Posted: Mon Jul 09, 2012 11:03 am
by alocritani
not sure (I cannot try it and I'm not too much confident) but it should be fixed by adding self:updateMainShader() to

tome-3.9.41\data\timed_effects\mental.lua line 104

Code: Select all

deactivate = function(self, eff)
	self:removeTemporaryValue("confused", eff.tmpid)
end

Re: [b41]screen blurred for one turn after removing confusio

Posted: Mon Jul 09, 2012 2:50 pm
by edge2054
The update shader thing would probably work.

It would be if self == game.player then self:updateMainShader() end