diff options
author | Max Horn | 2008-12-09 19:53:01 +0000 |
---|---|---|
committer | Max Horn | 2008-12-09 19:53:01 +0000 |
commit | c96b4f692a9cfaa5e5f374813045b97c9f33fa7d (patch) | |
tree | b5578d8666765974d812e70861127c4e4b11cd14 /engines/scumm | |
parent | 005c63f794d1b5509d22e027fd59d00448eab4b2 (diff) | |
download | scummvm-rg350-c96b4f692a9cfaa5e5f374813045b97c9f33fa7d.tar.gz scummvm-rg350-c96b4f692a9cfaa5e5f374813045b97c9f33fa7d.tar.bz2 scummvm-rg350-c96b4f692a9cfaa5e5f374813045b97c9f33fa7d.zip |
SCUMM: Turned two former warnings into errors -- I never got reports on this warnings, with some luck we'll never get reports on the errors, too. If we get them, I'll deal with them :)
svn-id: r35292
Diffstat (limited to 'engines/scumm')
-rw-r--r-- | engines/scumm/object.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/engines/scumm/object.cpp b/engines/scumm/object.cpp index eaffbd04bb..f815d5bfb8 100644 --- a/engines/scumm/object.cpp +++ b/engines/scumm/object.cpp @@ -23,7 +23,6 @@ * */ - #include "scumm/scumm.h" #include "scumm/actor.h" #include "scumm/bomp.h" @@ -145,14 +144,14 @@ void ScummEngine::setOwnerOf(int obj, int owner) { ss = &vm.slot[_currentScript]; if (ss->where == WIO_INVENTORY) { if (ss->number < _numInventory && _inventory[ss->number] == obj) { - warning("Odd setOwnerOf case #1: Please report to Fingolfin where you encountered this"); + error("Odd setOwnerOf case #1: Please report to Fingolfin where you encountered this"); putOwner(obj, 0); runInventoryScript(arg); stopObjectCode(); return; } if (ss->number == obj) - warning("Odd setOwnerOf case #2: Please report to Fingolfin where you encountered this"); + error("Odd setOwnerOf case #2: Please report to Fingolfin where you encountered this"); } } |