This, apparently, makes all valgrind errors go away
This commit is contained in:
parent
6322d7675d
commit
1f6c84c17a
@ -7,7 +7,7 @@
|
||||
#include <errno.h>
|
||||
#include "nebulae.h"
|
||||
|
||||
#include "SDL_image.h"
|
||||
#include "SDL/SDL_image.h"
|
||||
|
||||
#include "lephisto.h"
|
||||
#include "log.h"
|
||||
|
@ -698,6 +698,7 @@ static Weapon* weapon_create(const Outfit* outfit, const double dir, const Vec2*
|
||||
w->update = weapon_update;
|
||||
w->think = NULL;
|
||||
w->status = WEAPON_STATUS_OK;
|
||||
w->timer = 0.0;
|
||||
|
||||
switch(outfit->type) {
|
||||
/* Bolts treated together. */
|
||||
|
Loading…
Reference in New Issue
Block a user