infodecal: Prevent failure of tracing from crashing the game-logic.

This commit is contained in:
Marco Cawthorne 2019-02-28 08:16:32 +01:00
parent 8d0ba69a0e
commit b12aa003aa

View file

@ -91,7 +91,8 @@ void infodecal(void)
}
if (frac == 1.0f) {
objerror(sprintf("infodecal tracing failed at %v\n", self.origin));
print(sprintf("infodecal tracing failed at %v\n", self.origin));
remove(self);
return;
}