projects
/
xonotic
/
xonotic-data.pk3dir.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0bec40f
)
Add ogre spawn compatibility for brute
author
Mario <mario.mario@y7mail.com>
Thu, 29 Aug 2013 15:17:13 +0000
(
01:17
+1000)
committer
Mario <mario.mario@y7mail.com>
Thu, 29 Aug 2013 15:17:13 +0000
(
01:17
+1000)
qcsrc/common/monsters/monster/brute.qc
patch
|
blob
|
history
diff --git
a/qcsrc/common/monsters/monster/brute.qc
b/qcsrc/common/monsters/monster/brute.qc
index 3f50e5d2d62a4bd6aca48abbd2528a777ee6dbb3..1d5f6d518a592515906724282ad6f56b88900ae5 100644
(file)
--- a/
qcsrc/common/monsters/monster/brute.qc
+++ b/
qcsrc/common/monsters/monster/brute.qc
@@
-201,6
+201,9
@@
void spawnfunc_monster_brute()
if not(monster_initialize(MON_BRUTE, FALSE)) { remove(self); return; }
}
+// compatibility with old spawns
+void spawnfunc_monster_ogre() { spawnfunc_monster_brute(); }
+
float m_brute(float req)
{
switch(req)