From a2fd2e866a657af60a4d7bde9907d7246a4e35ec Mon Sep 17 00:00:00 2001 From: Allanis Date: Sat, 17 May 2014 11:44:46 +0100 Subject: [PATCH] [Change] Lowered the velocity of the rumble. --- src/ship.c | 5 ++++- src/spfx.c | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/src/ship.c b/src/ship.c index 99dde95..0b898ab 100644 --- a/src/ship.c +++ b/src/ship.c @@ -227,12 +227,15 @@ static int ship_parse(Ship* tmp, xmlNodePtr parent) { xmlNodePtr cur, node; ShipOutfit* otmp, *ocur; - char str[PATH_MAX] = "\0"; + char str[PATH_MAX]; char* stmp; /* Clear memory. */ memset(tmp, 0, sizeof(Ship)); + /* Defaults. */ + str[0] = '\0'; + /* Get name. */ xmlr_attr(parent, "name", tmp->name); if(tmp->name == NULL) diff --git a/src/spfx.c b/src/spfx.c index ba462b8..f275945 100644 --- a/src/spfx.c +++ b/src/spfx.c @@ -17,7 +17,7 @@ #define SPFX_GFX "../gfx/spfx/" /**< Graphics location. */ #define SPFX_CHUNK 32 /**< Chunk to allocate when needed. */ -#define SHAKE_VEL_MOD 0.0012 /**< Shake modifier. */ +#define SHAKE_VEL_MOD 0.0006 /**< Shake modifier. */ #define SHAKE_MOD_FACTOR 0.2 /**< Shake modifier factor. */ /* Special hardcoded effects.. */