Fixed support for walking zones in BRA:

* patches are not applied if the zone is not visible when loading 
* when applying a patch, always overwrite the existing data instead of OR'ing

svn-id: r36209
This commit is contained in:
Nicola Mettifogo 2009-02-03 10:42:27 +00:00
parent 0a42482fc3
commit d1b71335d6
4 changed files with 4 additions and 21 deletions

View file

@ -34,7 +34,7 @@ namespace Parallaction {
GfxObj::GfxObj(uint objType, Frames *frames, const char* name) :
_frames(frames), _keep(true), x(0), y(0), z(0), _flags(kGfxObjNormal),
type(objType), frame(0), layer(3), scale(100), _hasMask(false) {
type(objType), frame(0), layer(3), scale(100), _hasMask(false), _hasPath(false) {
if (name) {
_name = strdup(name);