infodecal: Prevent failure of tracing from crashing the game-logic.
This commit is contained in:
parent
8d0ba69a0e
commit
b12aa003aa
1 changed files with 2 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue