diff ObjectList.h @ 430:58b71c1af7d8

Objects are drawn (items, spells sfx)
author Nomad
date Sun, 24 Feb 2013 00:54:25 +0200
parents 9c0607679772
children 7ef4b64f6329
line wrap: on
line diff
--- a/ObjectList.h	Sat Feb 23 23:04:00 2013 +0200
+++ b/ObjectList.h	Sun Feb 24 00:54:25 2013 +0200
@@ -26,6 +26,8 @@
 #pragma pack(push, 1)
 struct ObjectDesc
 {
+  inline bool NoSprite() const {return uFlags & OBJECT_DESC_NO_SPRITE;}
+
   char field_0[32];
   __int16 uObjectID;
   __int16 uRadius;