diff --git a/CHANGELOG.txt b/CHANGELOG.txt index 746c3851e..d5dfe45bb 100755 --- a/CHANGELOG.txt +++ b/CHANGELOG.txt @@ -1,5 +1,9 @@ D2X-Rebirth Changelog +20070829 +-------- +main/physics.c: Apply BUMP_HACK on walls only + 20070828 -------- d2x.ini, 2d/bitblt.c, include/args.h, main/automap.c, main/credits.c, main/gameseq.c, main/inferno.c, main/newmenu.c, main/piggy.c, main/titles.c, misc/args.c: Fixed some mem-leaks; Made show_fullscr() use ogl_ubitmapm_cs(); Removed use of glScissor for menus - using Blitting; Code cleanup diff --git a/main/physics.c b/main/physics.c index e58d72dbd..9af0aaeef 100755 --- a/main/physics.c +++ b/main/physics.c @@ -839,7 +839,7 @@ void do_physics_sim(object *obj) #ifdef BUMP_HACK if (obj==ConsoleObject && (obj->mtype.phys_info.velocity.x==0 && obj->mtype.phys_info.velocity.y==0 && obj->mtype.phys_info.velocity.z==0) && - !(obj->mtype.phys_info.thrust.x==0 && obj->mtype.phys_info.thrust.y==0 && obj->mtype.phys_info.thrust.z==0)) { + !(obj->mtype.phys_info.thrust.x==0 && obj->mtype.phys_info.thrust.y==0 && obj->mtype.phys_info.thrust.z==0) && fate == HIT_WALL) { vms_vector center,bump_vec; //bump player a little towards center of segment to unstick