Skip to content

Commit 87671d8

Browse files
committed
add multi signature
1 parent cd963a2 commit 87671d8

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

code/prop/prop.cpp

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
#include "freespace.h"
66
#include "model/model.h"
77
#include "model/modelreplace.h"
8+
#include "network/multiutil.h"
89
#include "parse/parselo.h"
910
#include "prop/prop_flags.h"
1011
#include "render/3d.h"
@@ -523,6 +524,11 @@ int prop_create(matrix* orient, vec3d* pos, int prop_type, const char* name)
523524
objp->phys_info.forward_accel_time_const = 1.0;
524525
objp->phys_info.flags = PF_CONST_VEL;
525526

527+
// For now use the asteroid signature for props as requested by Cyborg.
528+
if (Game_mode & GM_MULTIPLAYER) {
529+
objp->net_signature = multi_assign_network_signature(MULTI_SIG_ASTEROID);
530+
}
531+
526532
// this is a little 'dangerous', values like this can cause the physics to do wierd things
527533
// but they are the most 'honest', and will help to indicate when the physics is trying to use these values in ways they shouldn't
528534
objp->phys_info.mass = INFINITY;

0 commit comments

Comments
 (0)