openclonk/planet/BackToTheRocks.ocf/Hideout.ocs/Flag.ocd/Script.c

19 lines
261 B
C

/*--
Flag Mesh
Author: Mimmo_O
Special flag graphics.
--*/
#appendto Goal_Flag
public func SetTeam(int to_team)
{
if (to_team == 1)
SetMeshMaterial("FlagLeft");
else if (to_team == 2)
SetMeshMaterial("FlagRight");
return _inherited(to_team);
}