projects
/
xonotic
/
xonotic-data.pk3dir.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
da67ed9
)
Also remove monster ice when ending the round
author
Mario <mario.mario@y7mail.com>
Mon, 5 Aug 2013 19:21:32 +0000
(
05:21
+1000)
committer
Mario <mario.mario@y7mail.com>
Mon, 5 Aug 2013 19:21:32 +0000
(
05:21
+1000)
qcsrc/server/mutators/gamemode_invasion.qc
patch
|
blob
|
history
diff --git
a/qcsrc/server/mutators/gamemode_invasion.qc
b/qcsrc/server/mutators/gamemode_invasion.qc
index 280454c28190c05ab40f106b56310b0b4929070f..03c469c64320fc1601aeaf8482c10e3e72f1fd64 100644
(file)
--- a/
qcsrc/server/mutators/gamemode_invasion.qc
+++ b/
qcsrc/server/mutators/gamemode_invasion.qc
@@
-68,6
+68,7
@@
float Invasion_CheckWinner()
{
WaypointSprite_Kill(head.sprite);
if(head.weaponentity) remove(head.weaponentity);
+ if(head.iceblock) remove(head.iceblock);
remove(head);
}
@@
-170,6
+171,7
@@
MUTATOR_HOOKFUNCTION(invasion_MonsterSpawn)
{
WaypointSprite_Kill(self.sprite);
if(self.weaponentity) remove(self.weaponentity);
+ if(self.iceblock) remove(self.iceblock);
remove(self);
return FALSE;
}