From 35e8aa42c57426f76327fab40fe5b6f2b5cbf482 Mon Sep 17 00:00:00 2001 From: Anders Jenbo Date: Sat, 20 Oct 2018 13:39:14 +0200 Subject: [PATCH] Fix lightning resistance on char screen --- Source/control.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/control.cpp b/Source/control.cpp index e5c56b66f..e8770b129 100644 --- a/Source/control.cpp +++ b/Source/control.cpp @@ -1992,7 +1992,7 @@ void __cdecl DrawChr() ADD_PlrStringXY(257, 304, 300, a4, a5[0]); v11 = plr[myplr]._pLghtResist; a5[0] = v11 != 0; - if ( v11 >= 75 ) + if ( v11 < 75 ) { sprintf(a4, "%i%%", v11); }