mirror of
https://github.com/rwengine/openrw.git
synced 2024-11-07 03:12:36 +01:00
Remove unwanted memory leak in script
This commit is contained in:
parent
844d1f89b3
commit
24b47a53f3
@ -5234,7 +5234,7 @@ void opcode_01d3(const ScriptArguments& args, const ScriptCharacter character, c
|
||||
RW_UNUSED(args);
|
||||
character->controller->skipActivity();
|
||||
character->controller->setNextActivity(
|
||||
std::make_unique<Activities::ExitVehicle>());(new Activities::ExitVehicle);
|
||||
std::make_unique<Activities::ExitVehicle>());
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user