[Scummvm-cvs-logs] SF.net SVN: scummvm:[35292] scummvm/trunk/engines/scumm/object.cpp
fingolfin at users.sourceforge.net
fingolfin at users.sourceforge.net
Tue Dec 9 20:53:01 CET 2008
Revision: 35292
http://scummvm.svn.sourceforge.net/scummvm/?rev=35292&view=rev
Author: fingolfin
Date: 2008-12-09 19:53:01 +0000 (Tue, 09 Dec 2008)
Log Message:
-----------
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 :)
Modified Paths:
--------------
scummvm/trunk/engines/scumm/object.cpp
Modified: scummvm/trunk/engines/scumm/object.cpp
===================================================================
--- scummvm/trunk/engines/scumm/object.cpp 2008-12-09 17:36:28 UTC (rev 35291)
+++ scummvm/trunk/engines/scumm/object.cpp 2008-12-09 19:53:01 UTC (rev 35292)
@@ -23,7 +23,6 @@
*
*/
-
#include "scumm/scumm.h"
#include "scumm/actor.h"
#include "scumm/bomp.h"
@@ -145,14 +144,14 @@
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");
}
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list