Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 271464
Collapse All | Expand All

(-)file_not_specified_in_diff (-2 / +2 lines)
Line  Link Here
0
-- src/lua.cc
0
++ src/lua.cc
Lines 574-580 Link Here
574
    int         y       = round_down<int>(lua_tonumber(L, 2));
574
    int         y       = round_down<int>(lua_tonumber(L, 2));
575
    const char *dir     = lua_tostring(L,3);
575
    const char *dir     = lua_tostring(L,3);
576
    const char *allowed = "wsen";
576
    const char *allowed = "wsen";
577
    char       *found   = strchr(allowed, dir[0]);
577
    const char *found   = strchr(allowed, dir[0]);
578
578
579
    if (found && found[0]) 
579
    if (found && found[0]) 
580
        world::AddScramble(GridPos(x,y), enigma::Direction(found-allowed));
580
        world::AddScramble(GridPos(x,y), enigma::Direction(found-allowed));

Return to bug 271464