Reverted parts of revisions #44298, #44299 and #44300, to prevent warnings and issues in compilers which don't support NORETURN
svn-id: r44314
This commit is contained in:
parent
0ea3cde160
commit
b4f1960318
19 changed files with 23 additions and 27 deletions
|
@ -225,7 +225,7 @@ Item *AGOSEngine::actor() {
|
|||
error("actor: is this code ever used?");
|
||||
//if (_actorPlayer)
|
||||
// return _actorPlayer;
|
||||
//return _dummyItem1;
|
||||
return _dummyItem1; // for compilers that don't support NORETURN
|
||||
}
|
||||
|
||||
Item *AGOSEngine::getNextItemPtr() {
|
||||
|
@ -455,7 +455,7 @@ uint AGOSEngine::itemPtrToID(Item *id) {
|
|||
if (_itemArrayPtr[i] == id)
|
||||
return i;
|
||||
error("itemPtrToID: not found");
|
||||
//return 0;
|
||||
return 0; // for compilers that don't support NORETURN
|
||||
}
|
||||
|
||||
} // End of namespace AGOS
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue