(int ent, float[] org)
| 1150 | * Called to get the sound spatialization origin =============== |
| 1151 | */ |
| 1152 | public static void GetEntitySoundOrigin(int ent, float[] org) { |
| 1153 | centity_t old; |
| 1154 | |
| 1155 | if (ent < 0 || ent >= Defines.MAX_EDICTS) |
| 1156 | Com.Error(Defines.ERR_DROP, "CL_GetEntitySoundOrigin: bad ent"); |
| 1157 | old = ClientGlobals.cl_entities[ent]; |
| 1158 | Math3D.VectorCopy(old.lerp_origin, org); |
| 1159 | |
| 1160 | // FIXME: bmodel issues... |
| 1161 | } |
| 1162 | } |
no test coverage detected