What are you trying to achieve with this line of code

if (WinTotal < 0*PIP)

0*PIP will always be 0