diff Spells.h @ 24:74940016abc8

* on Players * render now properly handles primary surface pitch
author Nomad
date Mon, 15 Oct 2012 18:28:43 +0200
parents 8b8875f5b359
children
line wrap: on
line diff
--- a/Spells.h	Sun Oct 14 00:27:38 2012 +0200
+++ b/Spells.h	Mon Oct 15 18:28:43 2012 +0200
@@ -39,6 +39,16 @@
 #pragma pack(push, 1)
 struct SpellBuff
 {
+  inline SpellBuff()
+  {
+    uExpireTime = 0;
+    uPower = 0;
+    uSkill = 0;
+    uOverlayID = 0;
+    uCaster = 0;
+    uFlags = 0;
+  }
+
   signed int Apply(unsigned __int64 uExpireTime, unsigned __int16 uSkillLevel, unsigned __int16 uPower, int a5, unsigned __int8 a6);
   void Reset();
   signed int _4585CA(__int64 a2);