diff TurnEngine.h @ 370:7f817679b60e

_42777D_CastSpell_UseWand_ShootArrow
author Nomad
date Fri, 22 Feb 2013 17:47:41 +0200
parents ce39b96acf5c
children 6a2b4d1be013
line wrap: on
line diff
--- a/TurnEngine.h	Fri Feb 22 01:36:54 2013 +0200
+++ b/TurnEngine.h	Fri Feb 22 17:47:41 2013 +0200
@@ -17,6 +17,19 @@
 #pragma pack(push, 1)
 struct stru262_TurnBased
 {
+  inline stru262_TurnBased()
+  {
+    field_0 = 0;
+    field_4 = 0;
+    field_8 = 0;
+    uActorQueueSize = 0;
+    field_10 = 0;
+    uActionPointsLeft = 0;
+    field_18 = 0;
+    field_1C = 0;
+    memset(pQueue, 0, sizeof(pQueue));
+  }
+
   signed int _404544();
   void _40471C();
   signed int Start();