X-Git-Url: http://de.git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fserver%2Fg_casings.qc;h=2ef04be17cf98ec2f1078db85cbc3959e4e84fa6;hb=a08620064dbe59abd194f302768d65934b87b6df;hp=5dea2ce7d41c6d2915c2e75af49669aedb8abf58;hpb=6c4f62990980e74d4a0963b7179c7c964f535398;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/server/g_casings.qc b/qcsrc/server/g_casings.qc index 5dea2ce7d..2ef04be17 100644 --- a/qcsrc/server/g_casings.qc +++ b/qcsrc/server/g_casings.qc @@ -9,7 +9,7 @@ float Casing_SendEntity(entity to, float sf) WriteByte(MSG_ENTITY, self.angles.x * 256 / 360); WriteByte(MSG_ENTITY, self.angles.y * 256 / 360); WriteByte(MSG_ENTITY, self.angles.z * 256 / 360); - return TRUE; + return true; } void SpawnCasing(vector vel, float randomvel, vector ang, vector avel, float randomavel, float casingtype, entity casingowner) @@ -29,6 +29,6 @@ void SpawnCasing(vector vel, float randomvel, vector ang, vector avel, float ran e.angles = ang; e.oldorigin_x = compressShortVector(e.velocity); - Net_LinkEntity(e, TRUE, 0.2, Casing_SendEntity); + Net_LinkEntity(e, true, 0.2, Casing_SendEntity); // 0.2s should be enough time for all clients to receive this ent once, do the gibbage and be done with it }