mirror of
https://github.com/ZDoom/Raze.git
synced 2024-11-15 08:51:24 +00:00
- Duke: fixed ChangeType to also change the actor's base pic.
This commit is contained in:
parent
a69d904192
commit
b07a43a9db
1 changed files with 1 additions and 0 deletions
|
@ -152,6 +152,7 @@ public:
|
|||
// It sucks having to do this but the game heavily depends on being able to swap out the class type and often uses this to manage actor state.
|
||||
// We'll allow this only for classes that do not add their own data, though.
|
||||
SetClass(newtype);
|
||||
spr.setspritetexture(GetDefaultByType(newtype)->spr.spritetexture());
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue