diff --git a/game/bg_public.h b/game/bg_public.h index 132c38d..263c0d7 100644 --- a/game/bg_public.h +++ b/game/bg_public.h @@ -10,7 +10,7 @@ // because games can change separately from the main system version, we need a // second version that must match between game and cgame -#define RPGX_VERSION "2.2 Beta 8.4.6" +#define RPGX_VERSION "2.2 Beta 8.4.7 wc1" #define RPGX_COMPILEDATE "20/05/11" #define RPGX_COMPILEDBY "GSIO01" //const char GAME_VERSION[] = strcat("RPG-X v",RPGX_VERSION); diff --git a/game/lua_sound.c b/game/lua_sound.c index 1f231ce..fe47e16 100644 --- a/game/lua_sound.c +++ b/game/lua_sound.c @@ -11,7 +11,7 @@ static int Sound_PlaySound(lua_State *L) { lent_t *l; l = Lua_GetEntity(L,1); - if(!l || l->e) return 0; + if(!l || !l->e) return 0; sound = (char*)luaL_checkstring(L,2); if(!sound[0]) return 0; diff --git a/qcommon/stv_version.h b/qcommon/stv_version.h index 3068a60..d2ea2c1 100644 --- a/qcommon/stv_version.h +++ b/qcommon/stv_version.h @@ -1,5 +1,5 @@ // Current version of holomatch game -#define Q3_VERSION "RPG-X v2.2 Beta 8.4.6" +#define Q3_VERSION "RPG-X v2.2 Beta 8.4.7 wc1" // end diff --git a/stefgame.suo b/stefgame.suo index b8d97ca..2d87e0a 100644 Binary files a/stefgame.suo and b/stefgame.suo differ