]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/common/monsters/monster/zombie.qh
take3: format 903 files
[xonotic/xonotic-data.pk3dir.git] / qcsrc / common / monsters / monster / zombie.qh
index d3c94cd4546724e1597daa8e4ec8af8caa715be6..ca958f6f111a028ac255efcc5fc1ebc5b6b02ce7 100644 (file)
@@ -7,18 +7,14 @@ MODEL(MON_ZOMBIE, M_Model("zombie.dpm"));
 #endif
 
 CLASS(Zombie, Monster)
-    ATTRIB(Zombie, spawnflags, int, MONSTER_TYPE_UNDEAD | MON_FLAG_MELEE | MON_FLAG_RIDE);
-    ATTRIB(Zombie, mins, vector, '-18 -18 -25');
-    ATTRIB(Zombie, maxs, vector, '18 18 47');
+       ATTRIB(Zombie, spawnflags, int, MONSTER_TYPE_UNDEAD | MON_FLAG_MELEE | MON_FLAG_RIDE);
+       ATTRIB(Zombie, m_mins, vector, '-18 -18 -25');
+       ATTRIB(Zombie, m_maxs, vector, '18 18 47');
 #ifdef GAMEQC
-    ATTRIB(Zombie, m_model, Model, MDL_MON_ZOMBIE);
+       ATTRIB(Zombie, m_model, Model, MDL_MON_ZOMBIE);
 #endif
-    ATTRIB(Zombie, netname, string, "zombie");
-    ATTRIB(Zombie, monster_name, string, _("Zombie"));
+       ATTRIB(Zombie, netname, string, "zombie");
+       ATTRIB(Zombie, monster_name, string, _("Zombie"));
 ENDCLASS(Zombie)
 
-REGISTER_MONSTER(ZOMBIE, NEW(Zombie)) {
-#ifdef GAMEQC
-    this.mr_precache(this);
-#endif
-}
+REGISTER_MONSTER(ZOMBIE, NEW(Zombie));