Skip to content

Commit 9dc6eb7

Browse files
fix particle related standalone error (#6869)
Standalone doesn't create particles so these checks will always fail.
1 parent fcb257d commit 9dc6eb7

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

code/asteroid/asteroid.cpp

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2679,7 +2679,10 @@ void asteroid_init()
26792679
verify_asteroid_splits();
26802680

26812681
if (!Asteroid_impact_explosion_ani.isValid()) {
2682-
Error(LOCATION, "Missing valid asteroid impact explosion definition in asteroid.tbl!");
2682+
// this will always be missing on a standalone
2683+
if ( !Is_standalone ) {
2684+
Error(LOCATION, "Missing valid asteroid impact explosion definition in asteroid.tbl!");
2685+
}
26832686
}
26842687

26852688
if (Asteroid_icon_closeup_model[0] == '\0')

0 commit comments

Comments
 (0)