Skip to content

Commit

Permalink
markers default to local
Browse files Browse the repository at this point in the history
  • Loading branch information
Karl-Robert Ernst committed Feb 8, 2010
1 parent 899129d commit 74bfaa5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rts/Lua/LuaUnsyncedCtrl.cpp
Expand Up @@ -2248,7 +2248,7 @@ int LuaUnsyncedCtrl::MarkerAddPoint(lua_State* L)
lua_tofloat(L, 2),
lua_tofloat(L, 3));
const string text = luaL_optstring(L, 4, "");
const bool onlyLocal = bool(luaL_optnumber(L, 5, 0));
const bool onlyLocal = bool(luaL_optnumber(L, 5, 1));

if (onlyLocal) {
inMapDrawer->LocalPoint(pos, text, gu->myPlayerNum);
Expand Down

0 comments on commit 74bfaa5

Please sign in to comment.