Skip to content

Commit 8c63146

Browse files
committed
fix cast error
1 parent d2db33f commit 8c63146

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

engine/class_modules/sc_druid.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2248,7 +2248,7 @@ struct druid_action_t : public Base
22482248
if ( may_autounshift && ( form_mask & NO_FORM ) == NO_FORM )
22492249
p()->shapeshift( NO_FORM );
22502250
else if ( autoshift )
2251-
p()->shapeshift( as<form_e>( autoshift ) );
2251+
p()->shapeshift( static_cast<form_e>( autoshift ) );
22522252
else
22532253
assert( false && "Action executed in wrong form with no valid form to shift to!" );
22542254
}

0 commit comments

Comments
 (0)