mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-06 00:55:50 +00:00
Print deletion state in ObjectReferenceInfo
This commit is contained in:
parent
689dea4cb3
commit
deb7f3caf6
@ -1051,6 +1051,11 @@ namespace MWScript
|
||||
msg << "RefNum: " << ptr.getCellRef().getRefNum().mIndex << std::endl;
|
||||
}
|
||||
|
||||
if (ptr.getRefData().isDeletedByContentFile())
|
||||
msg << "[Deleted by content file]" << std::endl;
|
||||
if (!ptr.getRefData().getCount())
|
||||
msg << "[Deleted]" << std::endl;
|
||||
|
||||
msg << "RefID: " << ptr.getCellRef().getRefId() << std::endl;
|
||||
|
||||
if (ptr.isInCell())
|
||||
|
@ -310,7 +310,7 @@ namespace Compiler
|
||||
extensions.registerFunction ("getpctraveling", 'l', "", opcodeGetPcTraveling);
|
||||
extensions.registerInstruction ("betacomment", "/S", opcodeBetaComment, opcodeBetaCommentExplicit);
|
||||
extensions.registerInstruction ("bc", "/S", opcodeBetaComment, opcodeBetaCommentExplicit);
|
||||
extensions.registerInstruction ("ori", "/S", opcodeBetaComment, opcodeBetaCommentExplicit);
|
||||
extensions.registerInstruction ("ori", "/S", opcodeBetaComment, opcodeBetaCommentExplicit); // 'ori' stands for 'ObjectReferenceInfo'
|
||||
extensions.registerInstruction ("addtolevcreature", "ccl", opcodeAddToLevCreature);
|
||||
extensions.registerInstruction ("removefromlevcreature", "ccl", opcodeRemoveFromLevCreature);
|
||||
extensions.registerInstruction ("addtolevitem", "ccl", opcodeAddToLevItem);
|
||||
|
Loading…
Reference in New Issue
Block a user