Skip to content
Permalink
Browse files

Fix #974: GetClassTypeName for texture subclasses

  • Loading branch information...
qaisjp committed May 31, 2019
1 parent 773a6a9 commit 526171c641c3f62815df988bb4b4db9c343380aa
Showing with 8 additions and 0 deletions.
  1. +8 −0 Client/mods/deathmatch/logic/lua/CLuaFunctionParseHelpers.h
@@ -263,6 +263,14 @@ inline SString GetClassTypeName(CClientMaterial*)
{
return "material";
}
inline SString GetClassTypeName(CClientRenderTarget*)
{
return "render-target-texture";
}
inline SString GetClassTypeName(CClientScreenSource*)
{
return "screen-source-texture";
}
inline SString GetClassTypeName(CClientTexture*)
{
return "texture";

0 comments on commit 526171c

Please sign in to comment.
You can’t perform that action at this time.