mirror of
https://github.com/DrBeef/Raze.git
synced 2024-11-15 17:01:51 +00:00
- Duke: DDukeActor::setActiveCrane must also clear ownerActor.
Apparently something in the crane code can cause a condition where this wasn't cleared before grabbing a player. Formerly these two were the same variable but had to be separated.
This commit is contained in:
parent
9e94573ae3
commit
b89bba5ed1
1 changed files with 1 additions and 0 deletions
|
@ -100,6 +100,7 @@ public:
|
|||
|
||||
inline void SetActiveCrane(bool yes)
|
||||
{
|
||||
ownerActor = nullptr;
|
||||
s->owner = yes ? -2 : -1;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue