From: Jaka K. <lyn...@us...> - 2011-07-03 19:45:32
|
gemrb: Infinity Engine emulator The branch master has been updated via e5beb1c3884638eed87617d5c9335d3ea15620b7 (commit) Summary of changes: gemrb/core/Scriptable/Actor.cpp | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) from 386935d3ce4d24e7384cecd34176104823399775 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- http://gemrb.git.sourceforge.net/git/gitweb.cgi?p=gemrb/gemrb;a=commitdiff;h=e5beb1c3884638eed87617d5c9335d3ea15620b7 commit e5beb1c3884638eed87617d5c9335d3ea15620b7 Author: Jaka Kranjc <lyn...@us...> Date: Sun Jul 3 21:44:39 2011 +0200 pcf_bounce: check for all changes, not just BNC_PROJECTILE at minimum BNC_LEVEL_DEC needs the vvc too (spell turning) diff --git a/gemrb/core/Scriptable/Actor.cpp b/gemrb/core/Scriptable/Actor.cpp index 211544e..3ea8be5 100644 --- a/gemrb/core/Scriptable/Actor.cpp +++ b/gemrb/core/Scriptable/Actor.cpp @@ -1080,11 +1080,11 @@ void pcf_web(Actor *actor, ieDword oldValue, ieDword newValue) //de/activates the spell bounce background void pcf_bounce(Actor *actor, ieDword oldValue, ieDword newValue) { - if (newValue&1) { + if (newValue) { handle_overlay(actor, OV_BOUNCE); return; } - if (oldValue&1) { + if (oldValue) { //it seems we have to remove it abruptly actor->RemoveVVCell(hc_overlays[OV_BOUNCE], false); } ----------------------------------------------------------------------- This is an automated email from the git hooks/post-receive script. -- gemrb: Infinity Engine emulator |