List initialize temporary robot object

This commit is contained in:
Kp 2014-07-04 03:55:27 +00:00
parent d5b55cf512
commit ba5b1a8e7c

View file

@ -1069,10 +1069,9 @@ void multi_do_create_robot_powerups(const unsigned pnum, const ubyte *buf)
// Code to drop remote-controlled robot powerups
int loc = 1;
object del_obj;
object del_obj{};
int egg_objnum, i;
memset( &del_obj, 0, sizeof(object) );
del_obj.type = OBJ_ROBOT;
; loc += 1;