1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-04-02 08:06:43 +00:00
openmw/components/interpreter/controlopcodes.hpp

20 lines
375 B
C++

#ifndef INTERPRETER_CONTROLOPCODES_H_INCLUDED
#define INTERPRETER_CONTROLOPCODES_H_INCLUDED
#include "opcodes.hpp"
#include "runtime.hpp"
namespace Interpreter
{
class OpReturn : public Opcode0
{
public:
virtual void execute (Runtime& runtime)
{
runtime.setPC (-1);
}
};
}
#endif