| 1175 | } |
| 1176 | |
| 1177 | short DoBloodSplat(int x, int y, int z, short speed, short direction, short roomNumber) |
| 1178 | { |
| 1179 | int intensity = Random::GenerateInt(10, 20); |
| 1180 | int probedRoomNumber = GetPointCollision(Vector3i(x, y, z), roomNumber).GetRoomNumber(); |
| 1181 | |
| 1182 | if (TestEnvironment(ENV_FLAG_WATER, probedRoomNumber)) |
| 1183 | { |
| 1184 | SpawnUnderwaterBlood(Vector3(x, y, z), probedRoomNumber, intensity); |
| 1185 | } |
| 1186 | else |
| 1187 | { |
| 1188 | TriggerBlood(x, y, z, direction >> 4, intensity); |
| 1189 | } |
| 1190 | |
| 1191 | return 0; |
| 1192 | } |
| 1193 | |
| 1194 | void DoLotsOfBlood(int x, int y, int z, int speed, short direction, short roomNumber, int count) |
| 1195 | { |
no test coverage detected