Permalink
Browse files

qtscript: fix description of getStructureLimit()

  • Loading branch information...
haoNoQ committed Sep 21, 2013
1 parent d13bc0d commit ca3ea2024f71cc3f4dfaaa2fa2775f2e1cd07c75
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/qtscriptfuncs.cpp
View
@@ -1954,7 +1954,7 @@ static QScriptValue js_addStructure(QScriptContext *context, QScriptEngine *)
}
//-- \subsection{getStructureLimit(structure type[, player])}
-//-- Create a structure on the given position. Returns true on success.
+//-- Returns build limits for a structure.
static QScriptValue js_getStructureLimit(QScriptContext *context, QScriptEngine *engine)
{
QString building = context->argument(0).toString();

0 comments on commit ca3ea20

Please sign in to comment.