1
0
forked from 0ad/0ad

This was SVN commit r4097.

This commit is contained in:
Matei 2006-07-13 20:31:35 +00:00
parent 1ef12292b5
commit 812cf08f70

View File

@ -403,6 +403,27 @@ function entityInitQuasi()
}
stopXTimer(8);
var ob = new Object();
ob.traits = new Object();
ob.traits.id = new Object();
ob.traits.id.civ = "hellenes";
startXTimer(9);
if (ob.traits.id && ob.traits.id.civ)
{
var id = ob.traits.id;
id.civ_code = id.civ.toString().substring (0, 4);
id.civ_code = id.civ_code.toString().toLowerCase();
// Exception to make the Romans into rome.
if (id.civ_code == "roma") id.civ_code = "rome";
// Exception to make the Hellenes into hele.
if (id.civ_code == "hell") id.civ_code = "hele";
}
stopXTimer(9);
}
// ====================================================================