mirror of
https://github.com/ZDoom/Raze.git
synced 2025-05-31 09:20:59 +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)
|
inline void SetActiveCrane(bool yes)
|
||||||
{
|
{
|
||||||
|
ownerActor = nullptr;
|
||||||
s->owner = yes ? -2 : -1;
|
s->owner = yes ? -2 : -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue