diff OSWindow.cpp @ 2185:385040580292

CastSpell continue
author Ritor1
date Mon, 27 Jan 2014 00:13:01 +0600
parents 0a1438c16c2b
children 9856c2f8f918
line wrap: on
line diff
--- a/OSWindow.cpp	Fri Jan 24 18:01:51 2014 +0600
+++ b/OSWindow.cpp	Mon Jan 27 00:13:01 2014 +0600
@@ -710,24 +710,24 @@
         pParty->pPlayers[i].uSkillPoints = 50;
     break;
         
-    case 40029:  pPlayers[uActiveCharacter]->SetPertified(true);  break;
-    case 40030:  pPlayers[uActiveCharacter]->SetWeak(true);       break;
-    case 40031:  pPlayers[uActiveCharacter]->SetPoison3(true);    break;
-    case 40032:  pPlayers[uActiveCharacter]->SetPoison2(true);    break;
-    case 40033:  pPlayers[uActiveCharacter]->SetPoison1(true);    break;
-    case 40034:  pPlayers[uActiveCharacter]->SetDisease3(true);   break;
-    case 40035:  pPlayers[uActiveCharacter]->SetDisease2(true);   break;
-    case 40036:  pPlayers[uActiveCharacter]->SetDisease1(true);   break;
-    case 40037:  pPlayers[uActiveCharacter]->SetCursed(true);     break;
-    case 40038:  pPlayers[uActiveCharacter]->SetInsane(true);     break;
-    case 40039:  pPlayers[uActiveCharacter]->SetDrunk(true);      break;
-    case 40040:  pPlayers[uActiveCharacter]->SetUnconcious(true); break;
-    case 40041:  pPlayers[uActiveCharacter]->SetDead(true);       break;
-    case 40042:  pPlayers[uActiveCharacter]->SetEradicated(true); break;
-    case 40043:  pPlayers[uActiveCharacter]->SetAsleep(true);     break;
-    case 40044:  pPlayers[uActiveCharacter]->SetAfraid(true);     break;
-    case 40045:  pPlayers[uActiveCharacter]->SetParalyzed(true);  break;
-    case 40073:  pPlayers[uActiveCharacter]->SetZombie(true);     break;
+    case 40029:  pPlayers[uActiveCharacter]->SetPertified(pParty->uTimePlayed);  break;
+    case 40030:  pPlayers[uActiveCharacter]->SetWeak(pParty->uTimePlayed);       break;
+    case 40031:  pPlayers[uActiveCharacter]->SetPoison3(pParty->uTimePlayed);    break;
+    case 40032:  pPlayers[uActiveCharacter]->SetPoison2(pParty->uTimePlayed);    break;
+    case 40033:  pPlayers[uActiveCharacter]->SetPoison1(pParty->uTimePlayed);    break;
+    case 40034:  pPlayers[uActiveCharacter]->SetDisease3(pParty->uTimePlayed);   break;
+    case 40035:  pPlayers[uActiveCharacter]->SetDisease2(pParty->uTimePlayed);   break;
+    case 40036:  pPlayers[uActiveCharacter]->SetDisease1(pParty->uTimePlayed);   break;
+    case 40037:  pPlayers[uActiveCharacter]->SetCursed(pParty->uTimePlayed);     break;
+    case 40038:  pPlayers[uActiveCharacter]->SetInsane(pParty->uTimePlayed);     break;
+    case 40039:  pPlayers[uActiveCharacter]->SetDrunk(pParty->uTimePlayed);      break;
+    case 40040:  pPlayers[uActiveCharacter]->SetUnconcious(pParty->uTimePlayed); break;
+    case 40041:  pPlayers[uActiveCharacter]->SetDead(pParty->uTimePlayed);       break;
+    case 40042:  pPlayers[uActiveCharacter]->SetEradicated(pParty->uTimePlayed); break;
+    case 40043:  pPlayers[uActiveCharacter]->SetAsleep(pParty->uTimePlayed);     break;
+    case 40044:  pPlayers[uActiveCharacter]->SetAfraid(pParty->uTimePlayed);     break;
+    case 40045:  pPlayers[uActiveCharacter]->SetParalyzed(pParty->uTimePlayed);  break;
+    case 40073:  pPlayers[uActiveCharacter]->SetZombie(pParty->uTimePlayed);     break;
 
     case 40062:
       pParty->alignment = PartyAlignment_Good;