- scriptified the remaining PlayerPawn methods.
This commit is contained in:
parent
2258a71c36
commit
3314a1efe5
6 changed files with 159 additions and 159 deletions
|
|
@ -1585,11 +1585,11 @@ DEFINE_CLASS_PROPERTY_PREFIX(player, crouchsprite, S, PlayerPawn)
|
|||
PROP_STRING_PARM(z, 0);
|
||||
if (strlen(z) == 4)
|
||||
{
|
||||
defaults->crouchsprite = GetSpriteIndex (z);
|
||||
defaults->IntVar(NAME_crouchsprite) = GetSpriteIndex (z);
|
||||
}
|
||||
else if (*z == 0)
|
||||
{
|
||||
defaults->crouchsprite = 0;
|
||||
defaults->IntVar(NAME_crouchsprite) = 0;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue