Merge branch '3.0_work'
# Conflicts: # src/gl/scene/gl_portal.cpp # src/r_plane.cpp
This commit is contained in:
commit
61c91f05fc
552 changed files with 58244 additions and 23521 deletions
|
|
@ -820,7 +820,7 @@ begin:
|
|||
ThrowAbortException(X_OTHER, "Cannot instantiate abstract class %s", cls->TypeName.GetChars());
|
||||
}
|
||||
// Creating actors here must be outright prohibited,
|
||||
if (cls->IsDescendantOf(RUNTIME_CLASS(AActor)))
|
||||
if (cls->IsDescendantOf(NAME_Actor))
|
||||
{
|
||||
ThrowAbortException(X_OTHER, "Cannot create actors with 'new'");
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue