1
0
forked from 0ad/0ad
This was SVN commit r9499.
This commit is contained in:
Badmadblacksad 2011-05-11 16:10:40 +00:00
parent 025a00340e
commit afd8a79f9c

View File

@ -153,6 +153,7 @@ GarrisonHolder.prototype.Eject = function(entity)
// Whoops, something went wrong (maybe there wasn't any space to place the unit).
// What should we do here?
// For now, just move the unit into the middle of the building where it'll probably get stuck
var cmpPosition = Engine.QueryInterface(this.entity, IID_Position);
pos = cmpPosition.GetPosition();
warn("Can't find free space to ungarrison unit");
}