Release fixes

This commit is contained in:
def 2019-04-10 17:57:56 +02:00
parent 93b88647eb
commit 11127f9344
2 changed files with 4 additions and 1 deletions

View file

@ -1961,7 +1961,7 @@ void CGameClient::ConColorFromRgb(IConsole::IResult *pResult, void *pUserData)
{
CGameClient *pThis = (CGameClient*)pUserData;
const char *pString = pResult->GetString(0);
const size_t Length = strlen(pString);
const size_t Length = str_length(pString);
vec3 Hsl;
vec3 Rgb;

View file

@ -26,12 +26,15 @@ const char *CEditor::Explain(int Tile, int Layer)
case TILE_THROUGH_CUT:
if(Layer == LAYER_GAME || Layer == LAYER_FRONT)
return "HOOKTRHOUGH: Shortcut for new hookthrough.";
break;
case TILE_THROUGH_ALL:
if(Layer == LAYER_GAME || Layer == LAYER_FRONT)
return "HOOKTRHOUGH: Combined with collision tile is new hookthrough, otherwise stops hooks, from all directions.";
break;
case TILE_THROUGH_DIR:
if(Layer == LAYER_GAME || Layer == LAYER_FRONT)
return "HOOKTRHOUGH: Combined with a collision tile is new hookthrough, otherwise stops hook, from one direction.";
break;
case TILE_THROUGH:
if(Layer == LAYER_GAME || Layer == LAYER_FRONT)
return "HOOKTHROUGH: Combined with (UN)HOOKABLE tiles, allows to hook through the walls.";