diff --git a/extensions/sdktools/vstringtable.cpp b/extensions/sdktools/vstringtable.cpp index 9bb29b24..3a1d068f 100644 --- a/extensions/sdktools/vstringtable.cpp +++ b/extensions/sdktools/vstringtable.cpp @@ -130,7 +130,11 @@ static cell_t ReadStringTable(IPluginContext *pContext, const cell_t *params) } stringidx = params[2]; +#if SOURCE_ENGINE == SE_DOTA + value = pTable->GetString(stringidx, false); +#else value = pTable->GetString(stringidx); +#endif if (!value) {